Skip to content

Instantly share code, notes, and snippets.

@IvanChepurnyi
Created June 27, 2020 09:55
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 IvanChepurnyi/798a5ca147850d0cc398f570ce22dd6a to your computer and use it in GitHub Desktop.
Save IvanChepurnyi/798a5ca147850d0cc398f570ce22dd6a to your computer and use it in GitHub Desktop.
17k r/sec
wrk -c 500 -d 1m -t 12 -R 17k -L http://localhost:8888
Running 1m test @ http://localhost:8888
12 threads and 500 connections
Thread calibration: mean lat.: 33.914ms, rate sampling interval: 25ms
Thread calibration: mean lat.: 29.841ms, rate sampling interval: 26ms
Thread calibration: mean lat.: 25.915ms, rate sampling interval: 25ms
Thread calibration: mean lat.: 36.787ms, rate sampling interval: 27ms
Thread calibration: mean lat.: 44.106ms, rate sampling interval: 29ms
Thread calibration: mean lat.: 32.432ms, rate sampling interval: 26ms
Thread calibration: mean lat.: 42.213ms, rate sampling interval: 28ms
Thread calibration: mean lat.: 29.393ms, rate sampling interval: 27ms
Thread calibration: mean lat.: 29.740ms, rate sampling interval: 26ms
Thread calibration: mean lat.: 28.908ms, rate sampling interval: 25ms
Thread calibration: mean lat.: 40.054ms, rate sampling interval: 27ms
Thread calibration: mean lat.: 6.100ms, rate sampling interval: 28ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 3.35ms 1.89ms 20.54ms 70.31%
Req/Sec 1.44k 120.76 2.78k 78.47%
Latency Distribution (HdrHistogram - Recorded Latency)
50.000% 2.97ms
75.000% 4.43ms
90.000% 5.95ms
99.000% 8.88ms
99.900% 12.06ms
99.990% 17.15ms
99.999% 19.73ms
100.000% 20.56ms
Detailed Percentile spectrum:
Value Percentile TotalCount 1/(1-Percentile)
0.114 0.000000 1 1.00
1.272 0.100000 84673 1.11
1.722 0.200000 169505 1.25
2.125 0.300000 254356 1.43
2.535 0.400000 338754 1.67
2.975 0.500000 423603 2.00
3.219 0.550000 465746 2.22
3.483 0.600000 508131 2.50
3.767 0.650000 550379 2.86
4.079 0.700000 592733 3.33
4.427 0.750000 635166 4.00
4.619 0.775000 656243 4.44
4.831 0.800000 677440 5.00
5.063 0.825000 698591 5.71
5.323 0.850000 719802 6.67
5.615 0.875000 740857 8.00
5.779 0.887500 751407 8.89
5.955 0.900000 761904 10.00
6.155 0.912500 772598 11.43
6.371 0.925000 783035 13.33
6.623 0.937500 793606 16.00
6.767 0.943750 798998 17.78
6.919 0.950000 804186 20.00
7.095 0.956250 809485 22.86
7.295 0.962500 814792 26.67
7.527 0.968750 820090 32.00
7.663 0.971875 822761 35.56
7.811 0.975000 825382 40.00
7.979 0.978125 828058 45.71
8.167 0.981250 830684 53.33
8.375 0.984375 833345 64.00
8.495 0.985938 834651 71.11
8.623 0.987500 835938 80.00
8.775 0.989062 837294 91.43
8.951 0.990625 838609 106.67
9.159 0.992188 839922 128.00
9.271 0.992969 840592 142.22
9.399 0.993750 841242 160.00
9.543 0.994531 841893 182.86
9.727 0.995313 842569 213.33
9.943 0.996094 843221 256.00
10.063 0.996484 843538 284.44
10.207 0.996875 843872 320.00
10.375 0.997266 844207 365.71
10.575 0.997656 844534 426.67
10.823 0.998047 844862 512.00
10.975 0.998242 845028 568.89
11.135 0.998437 845186 640.00
11.343 0.998633 845354 731.43
11.695 0.998828 845517 853.33
12.135 0.999023 845682 1024.00
12.447 0.999121 845765 1137.78
12.799 0.999219 845848 1280.00
13.239 0.999316 845930 1462.86
13.607 0.999414 846012 1706.67
14.015 0.999512 846095 2048.00
14.207 0.999561 846136 2275.56
14.431 0.999609 846178 2560.00
14.599 0.999658 846221 2925.71
14.903 0.999707 846260 3413.33
15.303 0.999756 846302 4096.00
15.527 0.999780 846322 4551.11
16.079 0.999805 846343 5120.00
16.287 0.999829 846364 5851.43
16.703 0.999854 846384 6826.67
16.927 0.999878 846405 8192.00
17.071 0.999890 846415 9102.22
17.231 0.999902 846426 10240.00
17.487 0.999915 846436 11702.86
17.711 0.999927 846446 13653.33
17.983 0.999939 846457 16384.00
18.143 0.999945 846462 18204.44
18.207 0.999951 846468 20480.00
18.319 0.999957 846472 23405.71
18.479 0.999963 846477 27306.67
18.703 0.999969 846483 32768.00
18.767 0.999973 846486 36408.89
18.895 0.999976 846488 40960.00
18.959 0.999979 846490 46811.43
19.087 0.999982 846493 54613.33
19.295 0.999985 846496 65536.00
19.471 0.999986 846497 72817.78
19.519 0.999988 846498 81920.00
19.599 0.999989 846499 93622.86
19.759 0.999991 846501 109226.67
19.839 0.999992 846502 131072.00
20.095 0.999993 846503 145635.56
20.095 0.999994 846503 163840.00
20.159 0.999995 846505 187245.71
20.159 0.999995 846505 218453.33
20.159 0.999996 846505 262144.00
20.191 0.999997 846506 291271.11
20.191 0.999997 846506 327680.00
20.191 0.999997 846506 374491.43
20.479 0.999998 846507 436906.67
20.479 0.999998 846507 524288.00
20.479 0.999998 846507 582542.22
20.479 0.999998 846507 655360.00
20.479 0.999999 846507 748982.86
20.559 0.999999 846508 873813.33
20.559 1.000000 846508 inf
#[Mean = 3.349, StdDeviation = 1.888]
#[Max = 20.544, Total count = 846508]
#[Buckets = 27, SubBuckets = 2048]
----------------------------------------------------------
1017162 requests in 1.00m, 185.19MB read
Requests/sec: 16949.29
Transfer/sec: 3.09MB
wrk -c 500 -d 1m -t 12 -R 17k -L http://localhost:8888
Running 1m test @ http://localhost:8888
12 threads and 500 connections
Thread calibration: mean lat.: 57.682ms, rate sampling interval: 48ms
Thread calibration: mean lat.: 65.024ms, rate sampling interval: 52ms
Thread calibration: mean lat.: 49.416ms, rate sampling interval: 45ms
Thread calibration: mean lat.: 59.556ms, rate sampling interval: 49ms
Thread calibration: mean lat.: 49.967ms, rate sampling interval: 48ms
Thread calibration: mean lat.: 56.744ms, rate sampling interval: 50ms
Thread calibration: mean lat.: 45.206ms, rate sampling interval: 46ms
Thread calibration: mean lat.: 57.040ms, rate sampling interval: 49ms
Thread calibration: mean lat.: 62.572ms, rate sampling interval: 50ms
Thread calibration: mean lat.: 59.680ms, rate sampling interval: 47ms
Thread calibration: mean lat.: 55.103ms, rate sampling interval: 51ms
Thread calibration: mean lat.: 62.848ms, rate sampling interval: 50ms
Thread Stats Avg Stdev Max +/- Stdev
Latency 5.04ms 3.00ms 25.06ms 66.33%
Req/Sec 1.43k 65.01 1.71k 69.01%
Latency Distribution (HdrHistogram - Recorded Latency)
50.000% 4.47ms
75.000% 7.07ms
90.000% 9.21ms
99.000% 13.30ms
99.900% 16.74ms
99.990% 21.39ms
99.999% 23.45ms
100.000% 25.07ms
Detailed Percentile spectrum:
Value Percentile TotalCount 1/(1-Percentile)
0.150 0.000000 1 1.00
1.613 0.100000 84695 1.11
2.275 0.200000 169378 1.25
2.939 0.300000 254090 1.43
3.649 0.400000 338687 1.67
4.475 0.500000 423452 2.00
4.935 0.550000 465868 2.22
5.423 0.600000 507989 2.50
5.947 0.650000 550355 2.86
6.499 0.700000 592745 3.33
7.071 0.750000 635032 4.00
7.367 0.775000 656191 4.44
7.679 0.800000 677403 5.00
8.007 0.825000 698500 5.71
8.367 0.850000 719948 6.67
8.751 0.875000 740744 8.00
8.967 0.887500 751320 8.89
9.207 0.900000 762074 10.00
9.471 0.912500 772713 11.43
9.767 0.925000 783278 13.33
10.111 0.937500 793776 16.00
10.303 0.943750 798967 17.78
10.527 0.950000 804350 20.00
10.775 0.956250 809589 22.86
11.063 0.962500 814854 26.67
11.407 0.968750 820174 32.00
11.599 0.971875 822773 35.56
11.815 0.975000 825373 40.00
12.063 0.978125 828005 45.71
12.343 0.981250 830665 53.33
12.647 0.984375 833327 64.00
12.815 0.985938 834650 71.11
12.991 0.987500 835978 80.00
13.175 0.989062 837283 91.43
13.383 0.990625 838607 106.67
13.607 0.992188 839942 128.00
13.727 0.992969 840592 142.22
13.871 0.993750 841253 160.00
14.031 0.994531 841897 182.86
14.223 0.995313 842580 213.33
14.455 0.996094 843222 256.00
14.615 0.996484 843557 284.44
14.775 0.996875 843885 320.00
14.975 0.997266 844207 365.71
15.199 0.997656 844541 426.67
15.479 0.998047 844877 512.00
15.623 0.998242 845034 568.89
15.839 0.998437 845200 640.00
16.095 0.998633 845365 731.43
16.399 0.998828 845531 853.33
16.783 0.999023 845699 1024.00
17.023 0.999121 845777 1137.78
17.263 0.999219 845862 1280.00
17.551 0.999316 845943 1462.86
17.919 0.999414 846028 1706.67
18.223 0.999512 846109 2048.00
18.383 0.999561 846151 2275.56
18.575 0.999609 846190 2560.00
18.783 0.999658 846231 2925.71
19.119 0.999707 846273 3413.33
19.567 0.999756 846316 4096.00
19.887 0.999780 846334 4551.11
20.143 0.999805 846358 5120.00
20.415 0.999829 846378 5851.43
20.719 0.999854 846396 6826.67
21.119 0.999878 846417 8192.00
21.215 0.999890 846427 9102.22
21.407 0.999902 846438 10240.00
21.551 0.999915 846448 11702.86
21.727 0.999927 846460 13653.33
21.919 0.999939 846469 16384.00
21.999 0.999945 846474 18204.44
22.159 0.999951 846479 20480.00
22.223 0.999957 846484 23405.71
22.335 0.999963 846489 27306.67
22.495 0.999969 846495 32768.00
22.559 0.999973 846497 36408.89
22.639 0.999976 846500 40960.00
22.751 0.999979 846502 46811.43
22.943 0.999982 846505 54613.33
23.119 0.999985 846508 65536.00
23.167 0.999986 846509 72817.78
23.247 0.999988 846510 81920.00
23.279 0.999989 846511 93622.86
23.535 0.999991 846513 109226.67
23.791 0.999992 846514 131072.00
23.887 0.999993 846515 145635.56
23.887 0.999994 846515 163840.00
23.983 0.999995 846516 187245.71
24.031 0.999995 846517 218453.33
24.031 0.999996 846517 262144.00
24.399 0.999997 846518 291271.11
24.399 0.999997 846518 327680.00
24.399 0.999997 846518 374491.43
24.447 0.999998 846519 436906.67
24.447 0.999998 846519 524288.00
24.447 0.999998 846519 582542.22
24.447 0.999998 846519 655360.00
24.447 0.999999 846519 748982.86
25.071 0.999999 846520 873813.33
25.071 1.000000 846520 inf
#[Mean = 5.043, StdDeviation = 2.999]
#[Max = 25.056, Total count = 846520]
#[Buckets = 27, SubBuckets = 2048]
----------------------------------------------------------
1018383 requests in 1.00m, 186.37MB read
Socket errors: connect 0, read 0, write 0, timeout 1
Requests/sec: 16972.84
Transfer/sec: 3.11MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment