[Ns-developers] PyBindGen benchmarks

Gustavo Carneiro gjcarneiro at gmail.com
Wed Jan 6 06:51:40 PST 2010


I don't know if this interests anyone at this point, but a couple of weeks
ago I did some benchmarks for PyBindGen against Boost.Python, SWIG, and SIP.
 Here are the results:

http://telecom.inescporto.pt/~gjc/pybindgen-benchmarks/

SWIG is pretty slow at method calling, as expected.  It is also extremely
slow at object creation, even more than I expected.  Boost-python competes
with SWIG for the "slowest" category, and takes the crown of "most bloated".
 SIP is actually pretty lean and fast, like PyBindGen.

-- 
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert


More information about the Ns-developers mailing list