24 Jul 2012 22:05
BunnyMark benchmark
Gabriel Jacobo <gabomdq <at> gmail.com>
2012-07-24 20:05:34 GMT
2012-07-24 20:05:34 GMT
Hey guys, I've been doing some "sort of real world" benchmarking experiments with my game engine, which embeds the CPython VM plus Cython generated code, going from a pure Python implementation to a Cython+STL alternative, and I'm getting upwards of 35x speed improvements. I've done a write up about it (http://mdqinc.com/blog/2012/07/how-to-make-a-chicken-fly/)... I just wanted to say Cython rocks!
Also, I'm really baffled (though I shouldn't be, everyone says so) at how slow the CPython VM is. I've been looking at other embedding alternatives, but it seems there's nothing else available (PyPy doesn't seem to be ready for this task yet). Any suggestions? Is it worth it? I've read a message from Stefan in the Python mailing list where he says JIT compilers won't bring much speed improvement in real world applications...despite this I would like to try and see what I get out of it.
--
Gabriel.
Gabriel.
RSS Feed