Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created November 1, 2013 15:14
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/7266934 to your computer and use it in GitHub Desktop.
Save oberstet/7266934 to your computer and use it in GitHub Desktop.
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9000 4 64000 2000 2000 > results.json
real 0m5.718s
user 0m12.144s
sys 0m7.988s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 64000
Fail: 0
Min: 2.2 ms
SD: 30.1 ms
Avg: 20.2 ms
Median: 13.8 ms
q90.0: 19.1 ms
q95.0: 78.5 ms
q99.0: 168.9 ms
q99.9: 183.0 ms
Max: 188.9 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9000 4 64000 1000 2000 > results.json
real 0m4.996s
user 0m10.296s
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: 1.9 ms
SD: 25.5 ms
Avg: 32.4 ms
Median: 23.6 ms
q90.0: 74.0 ms
q95.0: 89.8 ms
q99.0: 105.3 ms
q99.9: 124.2 ms
Max: 127.8 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9000 4 64000 1000 2000 > results.json
real 0m5.037s
user 0m10.080s
sys 0m6.172s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Success: 64000
Fail: 0
Min: 1.8 ms
SD: 27.0 ms
Avg: 32.7 ms
Median: 23.9 ms
q90.0: 83.0 ms
q95.0: 94.1 ms
q99.0: 105.6 ms
q99.9: 126.9 ms
Max: 135.2 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment