[pypy-dev] use as benchmark pypy vs python if you please

Dima Tisnek dimaqq at gmail.com
Mon Aug 4 17:04:31 CEST 2014


Attached is n-queens solver (pardon my naive algorithm), it runs:
python 2.7.6: 17s
pypy 2.4.0 alpha: 23s
same nojit: 32s

I've tried similar-looking algorithm for another problem before, and has
similar results -- somehow pypy was slower.

feel free to investigate / tweak or even use on speed.pypy.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140804/f89f76ef/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nq.py
Type: text/x-python
Size: 3354 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140804/f89f76ef/attachment.py>


More information about the pypy-dev mailing list