[pypy-dev] why pypy startup is currently ~5 times slower than python?
holger krekel
holger at merlinux.eu
Thu Nov 25 20:02:05 CET 2010
Hi,
using the following script:
import sys, subprocess
for i in range(1000):
subprocess.call([sys.executable, "--version"])
i get these results repeatedly:
(0)hpk at teta:~/p/pytest$ time python2.7 r.py 2>/dev/null >/dev/null
real 0m1.885s
user 0m0.110s
sys 0m0.480s
(0)hpk at teta:~/p/pytest$ time pypy r.py 2>/dev/null >/dev/null
real 0m8.763s
user 0m1.730s
sys 0m2.880s
IOW, pypy seems to be consistently 5-6 times slower on startup.
Does anybody have explanations why? When we did measurements
for the Nokia Maemo device pypy was actually much faster IIRC.
holger
More information about the Pypy-dev
mailing list