warptest/README.md
2020-04-03 22:05:02 -07:00

2.0 KiB

Benchmark results

Sleep: wrk -t 16 -d 5 -c 16 http://localhost:3030/sleep/1

Running 5s test @ http://localhost:3030/sleep/1
  16 threads and 16 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.00s   702.81us   1.00s    58.46%
    Req/Sec     0.25      0.43     1.00     75.38%
  65 requests in 5.01s, 8.63KB read
Requests/sec:     12.97
Transfer/sec:      1.72KB

Sleep: wrk -t 16 -d 5 -c 32 http://localhost:3030/sleep/1

Running 5s test @ http://localhost:3030/sleep/1
  16 threads and 32 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.00s   520.18us   1.00s    75.38%
    Req/Sec     1.89      2.51    10.00     91.67%
  130 requests in 5.01s, 17.27KB read
Requests/sec:     25.96
Transfer/sec:      3.45KB

Sleep: wrk -t 16 -d 5 -c 64 http://localhost:3030/sleep/1

Running 5s test @ http://localhost:3030/sleep/1
  16 threads and 64 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.00s     1.50ms   1.01s    67.58%
    Req/Sec     3.20      0.41     4.00     79.69%
  256 requests in 5.01s, 34.00KB read
Requests/sec:     51.13
Transfer/sec:      6.79KB

Sleep: wrk -t 16 -d 5 -c 128 http://localhost:3030/sleep/1

Running 5s test @ http://localhost:3030/sleep/1
  16 threads and 128 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.00s     1.25ms   1.01s    66.41%
    Req/Sec     8.06      7.86    70.00     96.92%
  512 requests in 5.01s, 68.00KB read
Requests/sec:    102.24
Transfer/sec:     13.58KB

Spin: wrk -t 16 -d 5 -c 16 http://localhost:3030/spin/1

Running 5s test @ http://localhost:3030/spin/1
  16 threads and 16 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.00s     0.00us   1.00s   100.00%
    Req/Sec     0.00      0.00     0.00    100.00%
  5 requests in 5.01s, 760.00B read
  Socket errors: connect 0, read 0, write 0, timeout 4
Requests/sec:      1.00
Transfer/sec:     151.79B