Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created November 1, 2013 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oberstet/7266999 to your computer and use it in GitHub Desktop.
Save oberstet/7266999 to your computer and use it in GitHub Desktop.
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 4 64000 2000 2000 > results.json
real 0m6.226s
user 0m11.396s
sys 0m7.720s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 64000
Fail: 0
Min: 0.2 ms
SD: 16.1 ms
Avg: 13.2 ms
Median: 13.1 ms
q90.0: 15.6 ms
q95.0: 16.7 ms
q99.0: 26.6 ms
q99.9: 326.0 ms
Max: 336.7 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 4 64000 2000 2000 > results.json
real 0m6.111s
user 0m11.296s
sys 0m7.888s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 64000
Fail: 0
Min: 0.1 ms
SD: 15.9 ms
Avg: 13.3 ms
Median: 13.1 ms
q90.0: 15.5 ms
q95.0: 16.8 ms
q99.0: 24.6 ms
q99.9: 301.5 ms
Max: 358.8 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 4 64000 1000 2000 > results.json
real 0m36.973s
user 0m9.940s
sys 0m6.444s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 63374
Fail: 626
Min: 0.1 ms
SD: 26094.2 ms
Avg: 2634.2 ms
Median: 9.7 ms
q90.0: 215.5 ms
q95.0: 216.8 ms
q99.0: 1512.2 ms
q99.9: 279807.5 ms
Max: 281858.6 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 4 64000 1000 2000 > results.json
real 0m35.167s
user 0m10.044s
sys 0m6.256s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 63414
Fail: 586
Min: 0.1 ms
SD: 29751.5 ms
Avg: 2903.7 ms
Median: 10.1 ms
q90.0: 215.7 ms
q95.0: 216.7 ms
q99.0: 647.9 ms
q99.9: 325918.8 ms
Max: 325920.1 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 4 64000 2000 2000 > results.json
real 0m5.290s
user 0m11.392s
sys 0m7.652s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 63981
Fail: 19
Min: 2.9 ms
SD: 5863.3 ms
Avg: 114.3 ms
Median: 13.1 ms
q90.0: 15.5 ms
q95.0: 16.8 ms
q99.0: 27.1 ms
q99.9: 303.3 ms
Max: 340357.1 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 4 64000 500 1000 > results.json
real 0m45.055s
user 0m9.760s
sys 0m6.220s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 63962
Fail: 38
Min: 0.1 ms
SD: 9043.6 ms
Avg: 243.6 ms
Median: 6.3 ms
q90.0: 16.0 ms
q95.0: 214.7 ms
q99.0: 226.8 ms
q99.9: 648.4 ms
Max: 371264.1 ms
oberstet@corei7-ubuntu:~/scm/wsperf$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment