Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created November 1, 2013 15:25
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/7267079 to your computer and use it in GitHub Desktop.
Save oberstet/7267079 to your computer and use it in GitHub Desktop.
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 2 64000 500 1000 > results.json
real 0m28.756s
user 0m6.940s
sys 0m4.728s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 63982
Fail: 18
Min: 0.1 ms
SD: 10523.9 ms
Avg: 189.9 ms
Median: 9.2 ms
q90.0: 16.3 ms
q95.0: 19.1 ms
q99.0: 215.4 ms
q99.9: 646.7 ms
Max: 627618.6 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 2 64000 500 500 > results.json
real 0m6.687s
user 0m8.268s
sys 0m5.876s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 64000
Fail: 0
Min: 3.8 ms
SD: 4.2 ms
Avg: 12.0 ms
Median: 13.5 ms
q90.0: 16.9 ms
q95.0: 18.1 ms
q99.0: 20.3 ms
q99.9: 23.5 ms
Max: 36.2 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 2 64000 1000 1000 > results.json
real 0m6.790s
user 0m8.420s
sys 0m5.916s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 64000
Fail: 0
Min: 3.4 ms
SD: 5.1 ms
Avg: 14.8 ms
Median: 16.2 ms
q90.0: 19.7 ms
q95.0: 21.7 ms
q99.0: 25.9 ms
q99.9: 41.8 ms
Max: 258.8 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 2 64000 2000 2000 > results.json
real 0m7.107s
user 0m8.744s
sys 0m6.156s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 64000
Fail: 0
Min: 3.3 ms
SD: 6.3 ms
Avg: 16.2 ms
Median: 16.8 ms
q90.0: 22.4 ms
q95.0: 24.5 ms
q99.0: 39.1 ms
q99.9: 45.0 ms
Max: 120.4 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 2 64000 4000 4000 > results.json
real 0m6.965s
user 0m8.760s
sys 0m5.820s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 64000
Fail: 0
Min: 2.9 ms
SD: 26.2 ms
Avg: 20.9 ms
Median: 17.1 ms
q90.0: 27.0 ms
q95.0: 41.9 ms
q99.0: 122.6 ms
q99.9: 403.9 ms
Max: 595.0 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 2 64000 1000 2000 > results.json
real 0m23.674s
user 0m7.176s
sys 0m4.540s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 63929
Fail: 71
Min: 0.1 ms
SD: 24364.5 ms
Avg: 842.3 ms
Median: 13.1 ms
q90.0: 37.6 ms
q95.0: 215.5 ms
q99.0: 229.5 ms
q99.9: 724479.5 ms
Max: 741688.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