Skip to content

Instantly share code, notes, and snippets.

@quiiver
Created August 26, 2022 15:34
Show Gist options
  • Save quiiver/29419438d456df550c5966a32a116991 to your computer and use it in GitHub Desktop.
Save quiiver/29419438d456df550c5966a32a116991 to your computer and use it in GitHub Desktop.
➜ merino-explorations git:(main) ✗ k6 run --vus 5 --duration 10m -e HOST=local ./load-tests/test.js
/\ |‾‾| /‾‾/ /‾‾/
/\ / \ | |/ / / /
/ \/ \ | ( / ‾‾\
/ \ | |\ \ | (‾) |
/ __________ \ |__| \__\ \_____/ .io
execution: local
script: ./load-tests/test.js
output: -
scenarios: (100.00%) 1 scenario, 5 max VUs, 10m30s max duration (incl. graceful stop):
* default: 5 looping VUs for 10m0s (gracefulStop: 30s)
^C
running (00m18.3s), 0/5 VUs, 20061 complete and 5 interrupted iterations
default ✗ [>-------------------------------------] 5 VUs 00m18.3s/10m0s
data_received..................: 6.6 MB 359 kB/s
data_sent......................: 2.5 MB 138 kB/s
http_req_blocked...............: avg=686ns min=0s med=1µs max=454µs p(90)=1µs p(95)=1µs
http_req_connecting............: avg=98ns min=0s med=0s max=418µs p(90)=0s p(95)=0s
http_req_duration..............: avg=4.52ms min=3.16ms med=4.31ms max=17.73ms p(90)=4.98ms p(95)=5.18ms
{ expected_response:true }...: avg=4.52ms min=3.16ms med=4.31ms max=17.73ms p(90)=4.98ms p(95)=5.18ms
http_req_failed................: 0.00% ✓ 0 ✗ 20061
http_req_receiving.............: avg=95.37µs min=6µs med=85µs max=11.09ms p(90)=149µs p(95)=167µs
http_req_sending...............: avg=2.71µs min=1µs med=2µs max=154µs p(90)=3µs p(95)=4µs
http_req_tls_handshaking.......: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_waiting...............: avg=4.43ms min=3.11ms med=4.22ms max=17.6ms p(90)=4.88ms p(95)=5.09ms
http_reqs......................: 20061 1097.002325/s
iteration_duration.............: avg=4.55ms min=3.2ms med=4.33ms max=17.77ms p(90)=5ms p(95)=5.21ms
iterations.....................: 20061 1097.002325/s
vus............................: 5 min=5 max=5
vus_max........................: 5 min=5 max=5
➜ merino-explorations git:(main) ✗ k6 run --vus 15 --duration 10m -e HOST=local ./load-tests/test.js
/\ |‾‾| /‾‾/ /‾‾/
/\ / \ | |/ / / /
/ \/ \ | ( / ‾‾\
/ \ | |\ \ | (‾) |
/ __________ \ |__| \__\ \_____/ .io
execution: local
script: ./load-tests/test.js
output: -
scenarios: (100.00%) 1 scenario, 15 max VUs, 10m30s max duration (incl. graceful stop):
* default: 15 looping VUs for 10m0s (gracefulStop: 30s)
^C
running (00m11.0s), 00/15 VUs, 12730 complete and 15 interrupted iterations
default ✗ [--------------------------------------] 15 VUs 00m11.0s/10m0s
data_received..................: 4.2 MB 379 kB/s
data_sent......................: 1.6 MB 146 kB/s
http_req_blocked...............: avg=1.1µs min=0s med=1µs max=540µs p(90)=1µs p(95)=1µs
http_req_connecting............: avg=477ns min=0s med=0s max=482µs p(90)=0s p(95)=0s
http_req_duration..............: avg=12.91ms min=10.08ms med=12.28ms max=33.17ms p(90)=14.09ms p(95)=15.54ms
{ expected_response:true }...: avg=12.91ms min=10.08ms med=12.28ms max=33.17ms p(90)=14.09ms p(95)=15.54ms
http_req_failed................: 0.00% ✓ 0 ✗ 12730
http_req_receiving.............: avg=266.48µs min=9µs med=230µs max=14.66ms p(90)=372µs p(95)=443µs
http_req_sending...............: avg=3.11µs min=1µs med=3µs max=162µs p(90)=4µs p(95)=6µs
http_req_tls_handshaking.......: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_waiting...............: avg=12.64ms min=9.92ms med=12.01ms max=32.96ms p(90)=13.8ms p(95)=15.22ms
http_reqs......................: 12730 1157.744034/s
iteration_duration.............: avg=12.94ms min=10.11ms med=12.31ms max=33.22ms p(90)=14.13ms p(95)=15.58ms
iterations.....................: 12730 1157.744034/s
vus............................: 15 min=15 max=15
vus_max........................: 15 min=15 max=15
➜ merino-explorations git:(main) ✗ k6 run --vus 20 --duration 10s -e HOST=local ./load-tests/test.js
/\ |‾‾| /‾‾/ /‾‾/
/\ / \ | |/ / / /
/ \/ \ | ( / ‾‾\
/ \ | |\ \ | (‾) |
/ __________ \ |__| \__\ \_____/ .io
execution: local
script: ./load-tests/test.js
output: -
scenarios: (100.00%) 1 scenario, 20 max VUs, 40s max duration (incl. graceful stop):
* default: 20 looping VUs for 10s (gracefulStop: 30s)
running (10.0s), 00/20 VUs, 11665 complete and 0 interrupted iterations
default ✓ [======================================] 20 VUs 10s
data_received..................: 3.8 MB 381 kB/s
data_sent......................: 1.5 MB 147 kB/s
http_req_blocked...............: avg=1.52µs min=0s med=1µs max=630µs p(90)=1µs p(95)=1µs
http_req_connecting............: avg=856ns min=0s med=0s max=588µs p(90)=0s p(95)=0s
http_req_duration..............: avg=17.12ms min=10.17ms med=16.35ms max=39.62ms p(90)=18.54ms p(95)=21.82ms
{ expected_response:true }...: avg=17.12ms min=10.17ms med=16.35ms max=39.62ms p(90)=18.54ms p(95)=21.82ms
http_req_failed................: 0.00% ✓ 0 ✗ 11665
http_req_receiving.............: avg=330.33µs min=12µs med=282µs max=16.34ms p(90)=457µs p(95)=536µs
http_req_sending...............: avg=3.24µs min=1µs med=3µs max=410µs p(90)=5µs p(95)=6µs
http_req_tls_handshaking.......: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s
http_req_waiting...............: avg=16.78ms min=10.09ms med=16.02ms max=39.4ms p(90)=18.21ms p(95)=21.17ms
http_reqs......................: 11665 1165.291593/s
iteration_duration.............: avg=17.15ms min=10.2ms med=16.37ms max=39.68ms p(90)=18.6ms p(95)=21.86ms
iterations.....................: 11665 1165.291593/s
vus............................: 20 min=20 max=20
vus_max........................: 20 min=20 max=20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment