Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created November 1, 2013 20:12
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/7271271 to your computer and use it in GitHub Desktop.
Save oberstet/7271271 to your computer and use it in GitHub Desktop.
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9002 4 200000 500 500 > results.json
real 0m16.542s
user 0m34.924s
sys 0m23.756s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Duration: 15795 ms
Total: 200000
Success: 200000
Fail: 0
Fail %: 0.00
Handshakes/sec: 12662
Min: 0.9 ms
SD: 3.4 ms
Avg: 9.6 ms
Median: 10.6 ms
q90.0: 12.7 ms
q95.0: 13.3 ms
q99.0: 14.9 ms
q99.9: 18.3 ms
Max: 235.9 ms
oberstet@corei7-ubuntu:~/scm/wsperf$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment