[Python-Dev] Python 3 optimizations continued... (original) (raw)

Maciej Fijalkowski fijall at gmail.com
Fri Sep 2 20:42:07 CEST 2011


For a comparative real world benchmark I tested Martin von Loewis' django port (there are not that many meaningful Python 3 real world benchmarks) and got a speedup of 1.3 (without IIS). This is reasonably well, US got a speedup of 1.35 on this benchmark. I just checked that pypy-c-latest on 64 bit reports 1.5 (the pypy-c-jit-latest figures seem to be not working currently or really fast...), but I cannot tell directly how that relates to speedups (it just says "less is better" and I did not quickly find an explanation). Since I did this benchmark last year, I have spent more time investigating this benchmark and found that I could do better, but I would have to guess as to how much (An interesting aside though: on this benchmark, the executable never grew on more than 5 megs of memory usage, exactly like the vanilla Python 3 interpreter.)

PyPy is ~12x faster on the django benchmark FYI



More information about the Python-Dev mailing list