I use Tornado and have found PyPy can yield a 30-50% performance increase for a moderately complex project.
Ben From: Phyo Arkar <phyo.arkarl...@gmail.com<mailto:phyo.arkarl...@gmail.com>> Date: Wednesday, September 3, 2014 at 8:21 AM To: pypy-dev <pypy-dev@python.org<mailto:pypy-dev@python.org>> Subject: Re: [pypy-dev] Pypy Benchmark of Tornado. I expect pypy to be faster in those cases but select io is not cpu intensive thing to do so no real benefit using pypy here i guess. On Wed, Sep 3, 2014 at 4:43 PM, Phyo Arkar <phyo.arkarl...@gmail.com<mailto:phyo.arkarl...@gmail.com>> wrote: > > It just return json document with a few thousand characters (1053 bytes) > $siege -c 400 -t 20s -r 2000 http://localhost:9999/js > > Python 2.7.7: > > Lifting the server siege... done. > > Transactions: 14478 hits > Availability: 100.00 % > Elapsed time: 19.10 secs > Data transferred: 14.54 MB > Response time: 0.01 secs > Transaction rate: 758.01 trans/sec > Throughput: 0.76 MB/sec > Concurrency: 8.91 > Successful transactions: 14478 > Failed transactions: 0 > Longest transaction: 1.08 seconds > Shortest transaction: 0.00 > > pypy-2.3.1 stable: > > Transactions: 15149 hits > Availability: 100.00 % > Elapsed time: 19.63 secs > Data transferred: 15.21 MB > Response time: 0.02 secs > Transaction rate: 771.73 trans/sec > Throughput: 0.77 MB/sec > Concurrency: 11.92 > Successful transactions: 15149 > Failed transactions: 0 > Longest transaction: 1.09 seconds > Shortest transaction: 0.00 > > > > pypy--c-jit-73283-912dd9df99a8-linux64 (latest nightly build) > > Lifting the server siege... done. > > Transactions: 14361 hits > Availability: 100.00 % > Elapsed time: 19.13 secs > Data transferred: 14.42 MB > Response time: 0.03 secs > Transaction rate: 750.71 trans/sec > Throughput: 0.75 MB/sec > Concurrency: 21.53 > Successful transactions: 14361 > Failed transactions: 0 > Longest transaction: 3.03 seconds > Shortest transaction: 0.00 > > > > > Pypy Nightly have some request Randomly get to 3.0 Seconds , normally those > requests (in Cpython) are only ~0.001 to 0.002 sec. > It just return json document with a few thousand characters (1053 bytes) $siege -c 400 -t 20s -r 2000 http://localhost:9999/js Python 2.7.7: Lifting the server siege... done. Transactions: 14478 hits Availability: 100.00 % Elapsed time: 19.10 secs Data transferred: 14.54 MB Response time: 0.01 secs Transaction rate: 758.01 trans/sec Throughput: 0.76 MB/sec Concurrency: 8.91 Successful transactions: 14478 Failed transactions: 0 Longest transaction: 1.08 seconds Shortest transaction: 0.00 pypy-2.3.1 stable: Transactions: 15149 hits Availability: 100.00 % Elapsed time: 19.63 secs Data transferred: 15.21 MB Response time: 0.02 secs Transaction rate: 771.73 trans/sec Throughput: 0.77 MB/sec Concurrency: 11.92 Successful transactions: 15149 Failed transactions: 0 Longest transaction: 1.09 seconds Shortest transaction: 0.00 pypy--c-jit-73283-912dd9df99a8-linux64 (latest nightly build) Lifting the server siege... done. Transactions: 14361 hits Availability: 100.00 % Elapsed time: 19.13 secs Data transferred: 14.42 MB Response time: 0.03 secs Transaction rate: 750.71 trans/sec Throughput: 0.75 MB/sec Concurrency: 21.53 Successful transactions: 14361 Failed transactions: 0 Longest transaction: 3.03 seconds Shortest transaction: 0.00 Pypy Nightly have some request Randomly get to 3.0 Seconds , normally those requests (in Cpython) are only ~0.001 to 0.002 sec. *************************************************************************** The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. ****************************************************************************
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev