Has anyone tried to compare those python implementations?
- pypy
- psyco
- unladen swallow (is it dead?)
- cpython
I am planning to squeeze something more from my server.
Setup:
- Django 1.3
- Python 2.7
- Psycopg2 1.4
- apache 2
- mod_wsgi
- and... Windows server
I am not a windows fanboy, but it has to be :{ There is some legacy code working on it.
http://reinout.vanrees.org/weblog/2011/06/06/django-and-pypy.html links to some benchmarks that compare pypy and cpython using a small django framework (so I guess it just benchmarks how long it takes to create a view). You may be able to use the same benchmark with other frameworks, though it's far from being an all inclusive speed test.
I believe unladen swallow was discontinued.
One thing you should considerate is the C extensions. Different implementations require different extension ways. At present, the CTYPES may be the most common one.
So I recommend you take CPython, in case of possible C extensions.
精彩评论