Skip to content

Instantly share code, notes, and snippets.

@xnyo
Created March 26, 2018 17:21
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 xnyo/602db2f83eabaadf88123d0657f184fd to your computer and use it in GitHub Desktop.
Save xnyo/602db2f83eabaadf88123d0657f184fd to your computer and use it in GitHub Desktop.

Command

wrk -c 500 -t 16 -d 30 http://127.0.0.1:8000/

Results

sanic

Running 30s test @ http://127.0.0.1:8000/
  16 threads and 500 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    30.95ms    2.82ms 281.40ms   86.36%
    Req/Sec     1.00k   148.46     2.54k    78.90%
  476561 requests in 30.10s, 59.08MB read
Requests/sec:  15833.02
Transfer/sec:      1.96MB

aiohttp (asyncio)

Running 30s test @ http://127.0.0.1:8000/
  16 threads and 500 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    66.16ms    5.08ms 324.39ms   90.61%
    Req/Sec   469.24    133.57     2.23k    39.26%
  222993 requests in 30.10s, 34.45MB read
Requests/sec:   7408.86
Transfer/sec:      1.14MB

aiohttp (uvloop)

Running 30s test @ http://127.0.0.1:8000/
  16 threads and 500 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    51.23ms    3.63ms 283.29ms   90.44%
    Req/Sec   605.15     83.04     0.94k    90.18%
  288096 requests in 30.03s, 44.51MB read
Requests/sec:   9594.58
Transfer/sec:      1.48MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment