[pypy-issue] [issue791] Simple wordcount is significantly slower and fatter than CPython

jayqhacker tracker at bugs.pypy.org
Tue May 14 15:50:05 CEST 2013


jayqhacker <jayqhacker at gmail.com> added the comment:

My hardware has apparently changed (Xeon E5620 @ 2.4 GHz, 12 MB cache; still Red
Hat 5.8 64-bit), but 2.0 unfortunately brings no improvements for this case. 
For reasons mysterious to me, the relative gap between CPython and pypy is
considerably widened, to almost 2X. (Note CPython and pypy 1.9 and 2.0 are
compiled from source with gcc 4.1.2; 1.8 is the binary from pypy.org.)

I'm also throwing in Jython just for giggles.  Running on Oracle JDK 1.7.0_21,
performance and memory usage vary wildly with choice of heap options, but
-J-Xmx4G -J-XX:+UseConcMarkSweepGC seem to give the best results.


CPython 2.7.4 : 20.4s   1400 MB
CPython 2.7.3 : 20.5s   1400 MB
PyPy 2.0      : 39.0s   1720 MB
PyPy 1.9      : 39.0s   1700 MB
PyPy 1.8      : 34.7s   1540 MB
Jython 2.7b1  : 44.8s   3070 MB

----------
release: 1.9 -> 2.0

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue791>
________________________________________


More information about the pypy-issue mailing list