Skip to content

Instantly share code, notes, and snippets.

@EkkoG
Last active September 28, 2018 20:44
Show Gist options
  • Save EkkoG/1708e48d96054a5f79ed3eac2bbacef7 to your computer and use it in GitHub Desktop.
Save EkkoG/1708e48d96054a5f79ed3eac2bbacef7 to your computer and use it in GitHub Desktop.

Rust Iron local server, thread 12

$ wrk --latency -t12 -c100 -d10s http://localhost:3000/
Running 10s test @ http://localhost:3000/
  12 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     9.03ms    3.30ms 100.96ms   91.08%
    Req/Sec   509.25    356.39     2.62k    44.51%
  Latency Distribution
     50%    8.04ms
     75%    9.44ms
     90%   11.54ms
     99%   22.45ms
  35600 requests in 10.10s, 3.87MB read
Requests/sec:   3524.63
Transfer/sec:    392.39KB

Flask local server, thread 12

$ wrk --latency -t12 -c100 -d10s http://localhost:5000/
Running 10s test @ http://localhost:5000/
  12 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   153.37ms   30.36ms 311.93ms   82.75%
    Req/Sec    55.45     23.17    80.00     65.91%
  Latency Distribution
     50%  145.74ms
     75%  165.79ms
     90%  191.19ms
     99%  268.96ms
  6207 requests in 10.07s, 0.97MB read
Requests/sec:    616.48
Transfer/sec:     98.73KB

Sanic local server, thread 12

$ wrk --latency -t12 -c100 -d10s http://localhost:8000/
Running 10s test @ http://localhost:8000/
  12 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    28.23ms    6.33ms  74.00ms   74.38%
    Req/Sec   284.09     39.53   410.00     71.13%
  Latency Distribution
     50%   27.89ms
     75%   31.61ms
     90%   35.81ms
     99%   46.75ms
  34014 requests in 10.04s, 4.12MB read
Requests/sec:   3388.71
Transfer/sec:    420.28KB

Rust Iron local server, thread 1

$ wrk --latency -t1 -c100 -d10s http://localhost:3000/
Running 10s test @ http://localhost:3000/
  1 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     9.78ms   11.29ms 253.67ms   97.07%
    Req/Sec     3.46k   735.68     4.28k    85.00%
  Latency Distribution
     50%    8.16ms
     75%    9.56ms
     90%   11.46ms
     99%   68.41ms
  34496 requests in 10.06s, 3.75MB read
Requests/sec:   3429.26
Transfer/sec:    381.77KB

Flask local server, thread 1

$ wrk --latency -t1 -c100 -d10s http://localhost:5000/
Running 10s test @ http://localhost:5000/
  1 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   159.15ms   65.29ms 409.39ms   82.47%
    Req/Sec   630.37    235.35     1.00k    60.00%
  Latency Distribution
     50%  133.28ms
     75%  187.99ms
     90%  273.32ms
     99%  353.45ms
  6282 requests in 10.03s, 0.98MB read
Requests/sec:    626.24
Transfer/sec:    100.30KB

Sanic local server, thread 1

$ wrk --latency -t1 -c100 -d10s http://localhost:8000/
Running 10s test @ http://localhost:8000/
  1 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    31.83ms   11.56ms  98.21ms   68.03%
    Req/Sec     3.15k   509.04     4.01k    73.00%
  Latency Distribution
     50%   33.24ms
     75%   37.22ms
     90%   44.41ms
     99%   66.18ms
  31547 requests in 10.08s, 3.82MB read
Requests/sec:   3129.71
Transfer/sec:    388.16KB

Flask with gunicorn, thread 12

$ wrk --latency -t12 -c100 -d10s http://localhost:5000/
Running 10s test @ http://localhost:5000/
  12 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   112.89ms  162.33ms   1.06s    93.23%
    Req/Sec   111.59     35.78   310.00     69.79%
  Latency Distribution
     50%   68.69ms
     75%   86.39ms
     90%  121.93ms
     99%  939.81ms
  12316 requests in 10.10s, 2.01MB read
Requests/sec:   1219.27
Transfer/sec:    203.65KB

Flask with gunicorn, thread 1

$ wrk --latency -t1 -c100 -d10s http://localhost:5000/
Running 10s test @ http://localhost:5000/
  1 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    67.90ms   15.20ms 159.01ms   83.76%
    Req/Sec     1.46k   273.19     1.85k    74.00%
  Latency Distribution
     50%   63.36ms
     75%   67.77ms
     90%   91.84ms
     99%  121.38ms
  14517 requests in 10.03s, 2.37MB read
Requests/sec:   1447.98
Transfer/sec:    241.82KB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment