Skip to content

Instantly share code, notes, and snippets.

@ismaelga
Last active August 29, 2015 14:15
Show Gist options
  • Save ismaelga/5091145b1cbafdbef962 to your computer and use it in GitHub Desktop.
Save ismaelga/5091145b1cbafdbef962 to your computer and use it in GitHub Desktop.
Phoenix Showdown 1.7 GHz 8 GB

Phoenix

Elixir 1.0.3 Erlang/OTP 17

Running 30s test @ http://127.0.0.1:4000/showdown
  4 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     7.39ms    8.05ms 123.21ms   93.84%
    Req/Sec     3.76k   687.58     6.32k    79.12%
  437943 requests in 30.00s, 0.90GB read
Requests/sec:  14598.19
Transfer/sec:     30.61MB

Rails

ruby 2.2.0

Running 30s test @ http://127.0.0.1:3000/showdown
  4 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    36.60ms   50.66ms 316.22ms   86.64%
    Req/Sec   356.93    244.14     0.88k    55.48%
  42960 requests in 30.01s, 94.86MB read
Requests/sec:   1431.67
Transfer/sec:      3.16MB

Sinatra

ruby 2.2.0

Running 30s test @ http://0.0.0.0:9292/showdown
  4 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    15.70ms   20.28ms 169.33ms   89.71%
    Req/Sec     1.04k   407.98     2.43k    64.12%
  126956 requests in 30.00s, 261.89MB read
Requests/sec:   4231.87
Transfer/sec:      8.73MB

Node 1 process

Running 30s test @ http://0.0.0.0:3000/showdown
  4 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    35.21ms    4.58ms  55.08ms   79.73%
    Req/Sec   720.55    102.01     1.14k    75.68%
  85801 requests in 30.01s, 179.28MB read
Requests/sec:   2858.84
Transfer/sec:      5.97MB

Node Cluster

Running 30s test @ http://0.0.0.0:3000/showdown
  4 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    12.02ms    3.97ms  53.91ms   80.02%
    Req/Sec     2.10k   204.14     2.64k    66.05%
  247290 requests in 30.00s, 516.71MB read
Requests/sec:   8242.62
Transfer/sec:     17.22MB

Martini

Running 30s test @ http://0.0.0.0:3000/showdown
  4 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    15.69ms   23.27ms 234.10ms   88.52%
    Req/Sec     1.59k   268.50     2.42k    71.55%
  190012 requests in 30.00s, 378.18MB read
Requests/sec:   6333.58
Transfer/sec:     12.61MB

Gin

Running 30s test @ http://0.0.0.0:3000/showdown
  4 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     4.65ms    3.34ms  55.49ms   82.66%
    Req/Sec     5.63k     0.87k   10.78k    74.45%
  651591 requests in 30.00s, 1.27GB read
Requests/sec:  21719.51
Transfer/sec:     43.23MB

Play

Running 30s test @ http://0.0.0.0:5000/showdown
  4 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    12.51ms   43.33ms 516.71ms   95.28%
    Req/Sec     4.06k     2.77k    9.08k    53.66%
  485614 requests in 30.00s, 0.93GB read
  
  Socket errors: connect 0, read 137, write 8, timeout 0
  
Requests/sec:  16187.03
Transfer/sec:     31.58MB

Plug

Running 30s test @ http://0.0.0.0:4000/showdown
  4 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     5.08ms    7.80ms 144.20ms   94.34%
    Req/Sec     5.45k     1.08k   15.33k    76.31%
  635038 requests in 30.00s, 1.28GB read
Requests/sec:  21168.24
Transfer/sec:     43.58MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment