Skip to content

Instantly share code, notes, and snippets.

@oberstet
Created November 1, 2013 20:57
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/7271827 to your computer and use it in GitHub Desktop.
Save oberstet/7271827 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.925s
user 0m31.768s
sys 0m19.016s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Duration: 15130 ms
Total: 200000
Success: 200000
Fail: 0
Fail %: 0.00
Handshakes/sec: 13219
Min: 1.4 ms
SD: 25.9 ms
Avg: 31.8 ms
Median: 22.7 ms
q90 : 78.4 ms
q95 : 92.8 ms
q99 : 105.8 ms
q99.9 : 115.6 ms
q99.99: 128.2 ms
Max: 129.1 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9000 4 200000 1000 2000 > results.json
real 0m15.867s
user 0m32.624s
sys 0m18.336s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Duration: 15077 ms
Total: 200000
Success: 200000
Fail: 0
Fail %: 0.00
Handshakes/sec: 13265
Min: 1.7 ms
SD: 26.3 ms
Avg: 31.9 ms
Median: 23.2 ms
q90 : 78.6 ms
q95 : 94.3 ms
q99 : 107.8 ms
q99.9 : 140.1 ms
q99.99: 148.9 ms
Max: 151.7 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9000 4 200000 1000 2000 > results.json
real 0m15.735s
user 0m32.248s
sys 0m18.620s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Duration: 14956 ms
Total: 200000
Success: 200000
Fail: 0
Fail %: 0.00
Handshakes/sec: 13372
Min: 0.4 ms
SD: 26.7 ms
Avg: 31.7 ms
Median: 21.8 ms
q90 : 80.9 ms
q95 : 94.3 ms
q99 : 105.9 ms
q99.9 : 122.6 ms
q99.99: 132.1 ms
Max: 133.3 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9000 4 200000 1000 2000 > results.json
real 0m16.143s
user 0m31.912s
sys 0m19.012s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Duration: 15353 ms
Total: 200000
Success: 200000
Fail: 0
Fail %: 0.00
Handshakes/sec: 13026
Min: 0.3 ms
SD: 26.5 ms
Avg: 32.0 ms
Median: 22.8 ms
q90 : 80.4 ms
q95 : 94.2 ms
q99 : 107.7 ms
q99.9 : 122.0 ms
q99.99: 146.5 ms
Max: 147.5 ms
oberstet@corei7-ubuntu:~/scm/wsperf$ time ./wsperf ws://127.0.0.1:9000 4 200000 1000 2000 > results.json
real 0m15.663s
user 0m31.940s
sys 0m18.888s
oberstet@corei7-ubuntu:~/scm/wsperf$ ~/pypy-2.1/bin/pypy analyze.py
wsperf results - WebSocket Opening Handshake
Duration: 14886 ms
Total: 200000
Success: 200000
Fail: 0
Fail %: 0.00
Handshakes/sec: 13435
Min: 1.3 ms
SD: 26.2 ms
Avg: 32.9 ms
Median: 24.7 ms
q90 : 82.0 ms
q95 : 91.5 ms
q99 : 103.0 ms
q99.9 : 119.6 ms
q99.99: 128.3 ms
Max: 133.4 ms
oberstet@corei7-ubuntu:~/scm/wsperf$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment