Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created November 1, 2013 20:08
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/7271209 to your computer and use it in GitHub Desktop.
Save oberstet/7271209 to your computer and use it in GitHub Desktop.
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 4 200000 1000 1000 > results.json
real 0m17.963s
user 0m33.972s
sys 0m24.040s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Duration: 17226 ms
Total: 200000
Success: 199705
Fail: 295
Fail %: 0.15
Handshakes/sec: 11593
Min: 0.1 ms
SD: 16365.6 ms
Avg: 541.9 ms
Median: 9.1 ms
q90.0: 11.7 ms
q95.0: 12.2 ms
q99.0: 222.7 ms
q99.9: 505943.6 ms
Max: 517649.3 ms
oberstet@corei7-ubuntu:~/scm/wsperf$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment