[pypy-dev] Pypy Benchmark of Tornado.

Phyo Arkar phyo.arkarlwin at gmail.com
Wed Sep 3 17:21:59 CEST 2014


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.arkarlwin at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20140903/aa02df38/attachment.html>


More information about the pypy-dev mailing list