[pypy-issue] [issue1745] gevent's bench_sendall.py 10x slower on PyPy

Denis tracker at bugs.pypy.org
Mon Apr 28 22:51:59 CEST 2014


New submission from Denis <denis.bilenko at gmail.com>:

https://github.com/surfly/gevent/blob/master/greentest/bench_sendall.py

To reproduce, do

git clone git at github.com:surfly/gevent.git --depth 1
cd gevent
python setup.py build
pypy setup.py build
PYTHONPATH=. python greentest/bench_sendall.py
PYTHONPATH=. pypy greentest/bench_sendall.py

I get the following results:

+ PYTHONPATH=. python greentest/bench_sendall.py
1187.68 MB/s
990.53 MB/s
1124.00 MB/s
1048.74 MB/s
1476.14 MB/s
1332.63 MB/s
1266.82 MB/s
1289.86 MB/s
1474.71 MB/s
1313.37 MB/s
~ 1230.50 MB/s
+ PYTHONPATH=. pypy greentest/bench_sendall.py
36.21 MB/s
104.02 MB/s
121.13 MB/s
118.86 MB/s
137.39 MB/s
136.05 MB/s
157.41 MB/s
147.06 MB/s
147.80 MB/s
152.78 MB/s
~ 105.27 MB/s


denis at ubuntu2 /tmp $ python --version
Python 2.7.3
denis at ubuntu2 /tmp $ pypy --version
Python 2.7.3 (2.2.1+dfsg-1~ppa1, Nov 28 2013, 02:02:56)
[PyPy 2.2.1 with GCC 4.6.3]

----------
messages: 6812
nosy: denis, pypy-issue
priority: performance bug
status: unread
title: gevent's bench_sendall.py 10x slower on PyPy

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


More information about the pypy-issue mailing list