Skip to content

Instantly share code, notes, and snippets.

@dead-horse
Created November 17, 2014 14:11
Show Gist options
  • Save dead-horse/9d8adac37185c0644191 to your computer and use it in GitHub Desktop.
Save dead-horse/9d8adac37185c0644191 to your computer and use it in GitHub Desktop.

co@3:

  1 middleware
  9457.52

  5 middleware
  9360.21

  10 middleware
  9220.33

  15 middleware
  9137.76

  20 middleware
  8987.12

  30 middleware
  8655.62

  50 middleware
  7802.92

  100 middleware
  6893.08


co@4:

  1 middleware
  9536.03

  5 middleware
  9329.00

  10 middleware
  9129.02

  15 middleware
  9071.54

  20 middleware
  8712.95

  30 middleware
  8509.02

  50 middleware
  8062.66

  100 middleware
  7063.00

co@3:

{22:04}[]~/git ➭ wrk -c10 -t 5 -d30s http://localhost:8080
Running 30s test @ http://localhost:8080
  5 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.60ms    1.11ms  14.27ms   88.78%
    Req/Sec     0.87k   202.30     1.70k    70.80%
  123073 requests in 30.00s, 36.50MB read
Requests/sec:   4102.30
Transfer/sec:      1.22MB

co@4:

{21:59}[]~/git ➭ wrk -c10 -t 5 -d30s http://localhost:8080
Running 30s test @ http://localhost:8080
  5 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     2.27ms  649.77us  12.61ms   87.84%
    Req/Sec     0.95k   148.85     1.67k    65.39%
  134040 requests in 30.00s, 39.76MB read
Requests/sec:   4467.97
Transfer/sec:      1.33MB

my koa app in production env

co@3:

Running 30s test @ http://localhost:3000/...
  5 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     6.57ms    4.15ms  78.65ms   91.06%
    Req/Sec   345.48    104.79   769.00     69.04%
  49119 requests in 30.00s, 2.18GB read
Requests/sec:   1637.16
Transfer/sec:     74.39MB

co@4:

Running 30s test @ http://localhost:3000/...
  5 threads and 10 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     5.76ms    2.57ms  28.82ms   79.79%
    Req/Sec   388.07    116.78     0.90k    68.61%
  54667 requests in 30.00s, 2.43GB read
Requests/sec:   1822.08
Transfer/sec:     82.80MB
@thelinuxlich
Copy link

cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment