Skip to content

Instantly share code, notes, and snippets.

@waghanza
Created January 1, 2022 13:57
Show Gist options
  • Save waghanza/61fb4d2975b61d43a7e4b765a7254003 to your computer and use it in GitHub Desktop.
Save waghanza/61fb4d2975b61d43a7e4b765a7254003 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.89ms 1.17ms 17.96ms 71.43%\n" +
" Req/Sec 2.80k 462.76 10.00k 82.53%\n" +
" 335311 requests in 15.10s, 52.12MB read\n" +
"Requests/sec: 22208.56\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 : 15098277,335311,22208,54655693,0,0,0,0,0,283,17959,2890,1165,2892,3684,4132,7121,13441"
"================"
"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.72ms 3.92ms 30.87ms 73.73%\n" +
" Req/Sec 2.97k 337.20 7.12k 69.21%\n" +
" 355825 requests in 15.10s, 55.31MB read\n" +
"Requests/sec: 23566.57\n" +
"Transfer/sec: 3.66MB\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 : 15098717,355825,23566,57999475,0,0,0,0,0,324,30870,10718,3921,7967,12190,15957,19947,28906"
"================"
"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 23.18ms 4.63ms 102.70ms 84.32%\n" +
" Req/Sec 2.78k 173.43 6.26k 90.83%\n" +
" 332029 requests in 15.05s, 51.61MB read\n" +
"Requests/sec: 22067.56\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 : 15046021,332029,22067,54120727,0,0,0,0,0,443,102696,23181,4634,23223,24517,26104,44555,92629"
"================"
"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.00ms 1.08ms 19.51ms 80.46%\n" +
" Req/Sec 2.69k 476.52 6.22k 77.08%\n" +
" 322708 requests in 15.10s, 50.47MB read\n" +
"Requests/sec: 21371.29\n" +
"Transfer/sec: 3.34MB\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 : 15100073,322708,21371,52924112,0,0,0,0,0,332,19512,3001,1078,2967,3668,3982,6934,16518"
"================"
"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 11.20ms 4.24ms 27.98ms 76.28%\n" +
" Req/Sec 2.85k 326.97 4.36k 68.67%\n" +
" 341947 requests in 15.09s, 53.48MB read\n" +
"Requests/sec: 22654.97\n" +
"Transfer/sec: 3.54MB\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 : 15093684,341947,22654,56079308,0,0,0,0,0,347,27981,11195,4244,11818,11947,17120,23919,27967"
"================"
"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 22.47ms 6.56ms 70.17ms 87.80%\n" +
" Req/Sec 2.85k 406.89 7.85k 79.88%\n" +
" 340274 requests in 15.09s, 53.22MB read\n" +
"Requests/sec: 22548.54\n" +
"Transfer/sec: 3.53MB\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 : 15090735,340274,22548,55804936,0,0,0,0,0,922,70167,22474,6555,19926,20921,38956,41884,69738"
"================"
"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.90ms 0.88ms 14.09ms 80.26%\n" +
" Req/Sec 2.77k 380.51 7.16k 74.40%\n" +
" 332141 requests in 15.10s, 51.63MB read\n" +
"Requests/sec: 21997.00\n" +
"Transfer/sec: 3.42MB\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 : 15099376,332141,21997,54138983,0,0,0,0,0,277,14088,2901,876,2844,3186,3794,5959,12995"
"================"
"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 11.67ms 2.29ms 31.83ms 63.69%\n" +
" Req/Sec 2.76k 119.70 3.37k 64.50%\n" +
" 329065 requests in 15.03s, 51.15MB read\n" +
"Requests/sec: 21900.38\n" +
"Transfer/sec: 3.40MB\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 : 15025539,329065,21900,53637595,0,0,0,0,0,606,31834,11671,2292,11761,13206,14238,16379,30159"
"================"
"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.73ms 6.42ms 69.71ms 87.70%\n" +
" Req/Sec 2.94k 406.35 6.26k 75.71%\n" +
" 352132 requests in 15.09s, 54.74MB read\n" +
"Requests/sec: 23333.08\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 : 15091537,352132,23333,57397516,0,0,0,0,0,453,69710,21731,6415,19905,19992,31956,40876,66011"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment