Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created November 1, 2013 20:04
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/7271129 to your computer and use it in GitHub Desktop.
Save oberstet/7271129 to your computer and use it in GitHub Desktop.
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9000 4 200000 1000 2000 > results.json
real 0m15.713s
user 0m32.060s
sys 0m19.044s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Duration: 14922 ms
Total: 200000
Success: 200000
Fail: 0
Fail %: 0.00
Handshakes/sec: 13403
Min: 1.5 ms
SD: 27.3 ms
Avg: 33.0 ms
Median: 23.2 ms
q90.0: 85.3 ms
q95.0: 94.7 ms
q99.0: 103.5 ms
q99.9: 118.1 ms
Max: 129.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