2020-04-03 21:55:30 -07:00
2020-04-03 21:55:30 -07:00
2020-04-03 21:41:16 -07:00
2020-04-03 21:41:16 -07:00
2020-04-03 21:41:16 -07:00

Benchmark results

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

Running 10s test @ http://localhost:3030/sleep/1
  16 threads and 32 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.00s     1.02ms   1.01s    64.58%
    Req/Sec     1.40      1.33    10.00     95.92%
  288 requests in 10.01s, 38.25KB read
Requests/sec:     28.76
Transfer/sec:      3.82KB

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

Running 10s test @ http://localhost:3030/spin/1
  16 threads and 32 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.00s     0.00us   1.00s   100.00%
    Req/Sec     0.10      0.32     1.00     90.00%
  10 requests in 10.01s, 1.48KB read
  Socket errors: connect 0, read 0, write 0, timeout 9
Requests/sec:      1.00
Transfer/sec:     151.81B
Description
Test warp behavior for future based sleeping and CPU intensive webhandlers.
Readme 212 KiB
Languages
Rust 73.8%
Shell 26.2%