Skip to content

Instantly share code, notes, and snippets.

@waghanza
Created January 1, 2022 14:34
Show Gist options
  • Save waghanza/2c152fdb1e958c279c8d710aefdfcb92 to your computer and use it in GitHub Desktop.
Save waghanza/2c152fdb1e958c279c8d710aefdfcb92 to your computer and use it in GitHub Desktop.
LANGUAGE=python FRAMEWORK=flask DATABASE_URL=postgresql://postgres@localhost/benchmark bundle exec rake collect
"================"
"CMD : wrk -H 'Connection: keep-alive' --connections 64 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline.lua http://172.17.0.2:3000/"
"================"
"OUT : Running 15s test @ http://172.17.0.2:3000/\n" +
" 8 threads and 64 connections\n" +
" Thread Stats Avg Stdev Max +/- Stdev\n" +
" Latency 2.90ms 0.97ms 17.71ms 72.14%\n" +
" Req/Sec 2.78k 383.49 8.00k 84.12%\n" +
" 333329 requests in 15.10s, 51.82MB read\n" +
"Requests/sec: 22075.79\n" +
"Transfer/sec: 3.43MB\n"
"================"
"LUA : duration_ms,total_requests,total_requests_per_s,total_bytes_received,socket_connection_errors,socket_read_errors,socket_write_errors,http_errors,request_timeouts,minimum_latency,maximum_latency,average_latency,standard_deviation,percentile_50,percentile_75,percentile_90,percentile_99,percentile_99.999"
"LUA : 15099300,333329,22075,54332627,0,0,0,0,0,301,17714,2899,973,2859,3347,4085,6122,13470"
"================"
"CMD : wrk -H 'Connection: keep-alive' --connections 256 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline.lua http://172.17.0.2:3000/"
"================"
"OUT : Running 15s test @ http://172.17.0.2:3000/\n" +
" 8 threads and 256 connections\n" +
" Thread Stats Avg Stdev Max +/- Stdev\n" +
" Latency 10.81ms 3.86ms 27.36ms 71.54%\n" +
" Req/Sec 2.95k 415.17 5.90k 63.80%\n" +
" 353175 requests in 15.09s, 54.90MB read\n" +
"Requests/sec: 23407.47\n" +
"Transfer/sec: 3.64MB\n"
"================"
"LUA : duration_ms,total_requests,total_requests_per_s,total_bytes_received,socket_connection_errors,socket_read_errors,socket_write_errors,http_errors,request_timeouts,minimum_latency,maximum_latency,average_latency,standard_deviation,percentile_50,percentile_75,percentile_90,percentile_99,percentile_99.999"
"LUA : 15088129,353175,23407,57567525,0,0,0,0,0,369,27362,10805,3860,7973,15849,15955,19932,26666"
"================"
"CMD : wrk -H 'Connection: keep-alive' --connections 512 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline.lua http://172.17.0.2:3000/"
"================"
"OUT : Running 15s test @ http://172.17.0.2:3000/\n" +
" 8 threads and 512 connections\n" +
" Thread Stats Avg Stdev Max +/- Stdev\n" +
" Latency 21.72ms 5.99ms 71.07ms 89.55%\n" +
" Req/Sec 2.95k 352.87 4.83k 75.54%\n" +
" 352552 requests in 15.09s, 54.80MB read\n" +
"Requests/sec: 23356.87\n" +
"Transfer/sec: 3.63MB\n"
"================"
"LUA : duration_ms,total_requests,total_requests_per_s,total_bytes_received,socket_connection_errors,socket_read_errors,socket_write_errors,http_errors,request_timeouts,minimum_latency,maximum_latency,average_latency,standard_deviation,percentile_50,percentile_75,percentile_90,percentile_99,percentile_99.999"
"LUA : 15094145,352552,23356,57465976,0,0,0,0,0,594,71066,21720,5988,19905,19982,25275,40107,71005"
"================"
"CMD : wrk -H 'Connection: keep-alive' --connections 64 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline.lua http://172.17.0.2:3000/user/0"
"================"
"OUT : Running 15s test @ http://172.17.0.2:3000/user/0\n" +
" 8 threads and 64 connections\n" +
" Thread Stats Avg Stdev Max +/- Stdev\n" +
" Latency 3.01ms 0.97ms 15.96ms 81.27%\n" +
" Req/Sec 2.68k 526.53 15.82k 85.18%\n" +
" 320510 requests in 15.10s, 50.13MB read\n" +
"Requests/sec: 21226.11\n" +
"Transfer/sec: 3.32MB\n"
"================"
"LUA : duration_ms,total_requests,total_requests_per_s,total_bytes_received,socket_connection_errors,socket_read_errors,socket_write_errors,http_errors,request_timeouts,minimum_latency,maximum_latency,average_latency,standard_deviation,percentile_50,percentile_75,percentile_90,percentile_99,percentile_99.999"
"LUA : 15099799,320510,21226,52563640,0,0,0,0,0,270,15959,3007,973,3020,3507,3894,6390,14306"
"================"
"CMD : wrk -H 'Connection: keep-alive' --connections 256 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline.lua http://172.17.0.2:3000/user/0"
"================"
"OUT : Running 15s test @ http://172.17.0.2:3000/user/0\n" +
" 8 threads and 256 connections\n" +
" Thread Stats Avg Stdev Max +/- Stdev\n" +
" Latency 12.04ms 2.76ms 62.22ms 68.58%\n" +
" Req/Sec 2.67k 126.90 3.59k 71.83%\n" +
" 319085 requests in 15.03s, 49.91MB read\n" +
"Requests/sec: 21227.46\n" +
"Transfer/sec: 3.32MB\n"
"================"
"LUA : duration_ms,total_requests,total_requests_per_s,total_bytes_received,socket_connection_errors,socket_read_errors,socket_write_errors,http_errors,request_timeouts,minimum_latency,maximum_latency,average_latency,standard_deviation,percentile_50,percentile_75,percentile_90,percentile_99,percentile_99.999"
"LUA : 15031706,319085,21227,52329940,0,0,0,0,0,526,62224,12044,2760,12205,13771,14688,22424,50817"
"================"
"CMD : wrk -H 'Connection: keep-alive' --connections 512 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline.lua http://172.17.0.2:3000/user/0"
"================"
"OUT : Running 15s test @ http://172.17.0.2:3000/user/0\n" +
" 8 threads and 512 connections\n" +
" Thread Stats Avg Stdev Max +/- Stdev\n" +
" Latency 24.19ms 3.02ms 86.05ms 91.58%\n" +
" Req/Sec 2.66k 123.29 4.45k 89.75%\n" +
" 317381 requests in 15.04s, 49.64MB read\n" +
"Requests/sec: 21099.55\n" +
"Transfer/sec: 3.30MB\n"
"================"
"LUA : duration_ms,total_requests,total_requests_per_s,total_bytes_received,socket_connection_errors,socket_read_errors,socket_write_errors,http_errors,request_timeouts,minimum_latency,maximum_latency,average_latency,standard_deviation,percentile_50,percentile_75,percentile_90,percentile_99,percentile_99.999"
"LUA : 15042075,317381,21099,52050484,0,0,0,0,0,2034,86046,24193,3018,24106,24919,25679,38894,84052"
"================"
"CMD : wrk -H 'Connection: keep-alive' --connections 64 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline_post.lua http://172.17.0.2:3000/user"
"================"
"OUT : Running 15s test @ http://172.17.0.2:3000/user\n" +
" 8 threads and 64 connections\n" +
" Thread Stats Avg Stdev Max +/- Stdev\n" +
" Latency 2.89ms 1.20ms 29.94ms 78.31%\n" +
" Req/Sec 2.80k 643.16 5.76k 71.08%\n" +
" 334489 requests in 15.06s, 52.00MB read\n" +
"Requests/sec: 22209.49\n" +
"Transfer/sec: 3.45MB\n"
"================"
"LUA : duration_ms,total_requests,total_requests_per_s,total_bytes_received,socket_connection_errors,socket_read_errors,socket_write_errors,http_errors,request_timeouts,minimum_latency,maximum_latency,average_latency,standard_deviation,percentile_50,percentile_75,percentile_90,percentile_99,percentile_99.999"
"LUA : 15060636,334489,22209,54521707,0,0,0,0,0,321,29938,2885,1198,2729,3304,3979,6251,25261"
"================"
"CMD : wrk -H 'Connection: keep-alive' --connections 256 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline_post.lua http://172.17.0.2:3000/user"
"================"
"OUT : Running 15s test @ http://172.17.0.2:3000/user\n" +
" 8 threads and 256 connections\n" +
" Thread Stats Avg Stdev Max +/- Stdev\n" +
" Latency 10.88ms 4.00ms 37.90ms 73.16%\n" +
" Req/Sec 2.93k 375.30 6.15k 73.43%\n" +
" 351427 requests in 15.10s, 54.63MB read\n" +
"Requests/sec: 23278.52\n" +
"Transfer/sec: 3.62MB\n"
"================"
"LUA : duration_ms,total_requests,total_requests_per_s,total_bytes_received,socket_connection_errors,socket_read_errors,socket_write_errors,http_errors,request_timeouts,minimum_latency,maximum_latency,average_latency,standard_deviation,percentile_50,percentile_75,percentile_90,percentile_99,percentile_99.999"
"LUA : 15096624,351427,23278,57282601,0,0,0,0,0,330,37897,10876,3998,7976,14902,15962,19957,37401"
"================"
"CMD : wrk -H 'Connection: keep-alive' --connections 512 --threads 8 --duration 15 --timeout 1 --script /home/waghanza/workspace/benchmark/web/pipeline_post.lua http://172.17.0.2:3000/user"
"================"
"OUT : Running 15s test @ http://172.17.0.2:3000/user\n" +
" 8 threads and 512 connections\n" +
" Thread Stats Avg Stdev Max +/- Stdev\n" +
" Latency 21.92ms 6.42ms 67.86ms 88.16%\n" +
" Req/Sec 2.92k 385.13 8.03k 75.94%\n" +
" 348931 requests in 15.08s, 54.24MB read\n" +
"Requests/sec: 23144.61\n" +
"Transfer/sec: 3.60MB\n"
"================"
"LUA : duration_ms,total_requests,total_requests_per_s,total_bytes_received,socket_connection_errors,socket_read_errors,socket_write_errors,http_errors,request_timeouts,minimum_latency,maximum_latency,average_latency,standard_deviation,percentile_50,percentile_75,percentile_90,percentile_99,percentile_99.999"
"LUA : 15076126,348931,23144,56875753,0,0,0,0,0,1538,67865,21922,6423,19915,20872,31971,42839,66203"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment