Skip to content

Instantly share code, notes, and snippets.

@elct9620
Last active March 20, 2020 16:06
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 elct9620/3fceb24afa8788576d6d9f25a60ea2fa to your computer and use it in GitHub Desktop.
Save elct9620/3fceb24afa8788576d6d9f25a60ea2fa to your computer and use it in GitHub Desktop.
Tide + Phoneix wrk2 benchmark
[elct9620] test % wrk2 -t4 -c1000 -d30s -R1000 http://localhost:4000/
Running 30s test @ http://localhost:4000/
4 threads and 1000 connections
Thread calibration: mean lat.: 1425.090ms, rate sampling interval: 8970ms
Thread calibration: mean lat.: 1495.687ms, rate sampling interval: 9191ms
Thread calibration: mean lat.: 1444.798ms, rate sampling interval: 8970ms
Thread calibration: mean lat.: 1389.795ms, rate sampling interval: 8962ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 977.94ms 1.51s 9.22s 91.81%
Req/Sec 258.62 7.07 277.00 87.50%
29007 requests in 30.04s, 12.20MB read
Socket errors: connect 0, read 718, write 0, timeout 808
Requests/sec: 965.72
Transfer/sec: 415.90KB
[elct9620] test % wrk2 -t4 -c1000 -d30s -R1000 http://localhost:4000/
Running 30s test @ http://localhost:4000/
4 threads and 1000 connections
Thread calibration: mean lat.: 369.187ms, rate sampling interval: 1629ms
Thread calibration: mean lat.: 1272.958ms, rate sampling interval: 8056ms
Thread calibration: mean lat.: 1160.373ms, rate sampling interval: 7905ms
Thread calibration: mean lat.: 1310.337ms, rate sampling interval: 8060ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 445.27ms 495.08ms 3.50s 94.52%
Req/Sec 252.29 47.22 327.00 82.35%
29108 requests in 30.16s, 12.24MB read
Socket errors: connect 0, read 543, write 0, timeout 294
Requests/sec: 965.26
Transfer/sec: 415.70KB
[elct9620] test % wrk2 -t4 -c1000 -d30s -R1000 http://localhost:4000/
Running 30s test @ http://localhost:4000/
4 threads and 1000 connections
Thread calibration: mean lat.: 435.632ms, rate sampling interval: 1431ms
Thread calibration: mean lat.: 270.232ms, rate sampling interval: 1147ms
Thread calibration: mean lat.: 440.428ms, rate sampling interval: 1427ms
Thread calibration: mean lat.: 270.232ms, rate sampling interval: 1146ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 437.04ms 306.06ms 1.42s 71.55%
Req/Sec 253.00 88.83 507.00 65.52%
29165 requests in 30.06s, 12.27MB read
Socket errors: connect 0, read 236, write 0, timeout 0
Requests/sec: 970.14
Transfer/sec: 417.81KB
[elct9620] test % wrk2 -t4 -c1000 -d30s -R1000 http://localhost:4000/
Running 30s test @ http://localhost:4000/
4 threads and 1000 connections
Thread calibration: mean lat.: 769.749ms, rate sampling interval: 3645ms
Thread calibration: mean lat.: 399.541ms, rate sampling interval: 1423ms
Thread calibration: mean lat.: 818.415ms, rate sampling interval: 3661ms
Thread calibration: mean lat.: 772.316ms, rate sampling interval: 3637ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 392.36ms 194.41ms 1.20s 70.29%
Req/Sec 241.00 39.88 345.00 82.14%
29126 requests in 30.37s, 12.25MB read
Socket errors: connect 0, read 444, write 0, timeout 138
Requests/sec: 958.95
Transfer/sec: 412.99KB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment