[pypy-dev] Pypy Benchmark of Tornado.

Phyo Arkar phyo.arkarlwin at gmail.com
Wed Sep 3 12:13:16 CEST 2014


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140903/517b697d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: benchmark_tornado.py
Type: text/x-python
Size: 1143 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140903/517b697d/attachment.py>


More information about the pypy-dev mailing list