New submission from Denis <[email protected]>: https://github.com/surfly/gevent/blob/master/greentest/bench_sendall.py
To reproduce, do git clone [email protected]: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@ubuntu2 /tmp $ python --version Python 2.7.3 denis@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 <[email protected]> <https://bugs.pypy.org/issue1745> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
