Last active
August 29, 2015 14:15
-
-
Save cibernox/e73a7282d68adeda5358 to your computer and use it in GitHub Desktop.
Benchmarking some frameworks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Run in a Macbook Retine 15" (i7-2GHz + 8GB ram) | |
| # | |
| # Sinatra with ruby 2.2.0 warmed (3rd run) | |
| $ wrk -t4 -c100 -d30S --timeout 2000 "http://127.0.0.1:9292/showdown" | |
| Running 30s test @ http://127.0.0.1:9292/showdown | |
| 4 threads and 100 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 8.13ms 4.69ms 42.48ms 72.86% | |
| Req/Sec 1.69k 621.15 2.81k 64.93% | |
| 195668 requests in 30.00s, 403.63MB read | |
| Requests/sec: 6522.16 | |
| Transfer/sec: 13.45MB | |
| # Sinatra con JRuby 1.7.19 warmed (3rd run) | |
| $ wrk -t4 -c100 -d30S --timeout 2000 "http://127.0.0.1:9292/showdown" | |
| Running 30s test @ http://127.0.0.1:9292/showdown | |
| 4 threads and 100 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 20.84ms 52.19ms 229.91ms 87.80% | |
| Req/Sec 2.64k 1.57k 8.20k 65.89% | |
| 298301 requests in 30.00s, 615.33MB read | |
| Socket errors: connect 0, read 77, write 0, timeout 0 | |
| Requests/sec: 9943.46 | |
| Transfer/sec: 20.51MB | |
| # Elixir + Phoenix warmed | |
| $ wrk -t4 -c100 -d30S --timeout 2000 "http://127.0.0.1:4000/showdown" | |
| Running 30s test @ http://127.0.0.1:4000/showdown | |
| 4 threads and 100 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 4.18ms 9.11ms 79.01ms 98.27% | |
| Req/Sec 8.60k 1.51k 20.11k 87.36% | |
| 974530 requests in 30.00s, 2.00GB read | |
| Requests/sec: 32484.71 | |
| Transfer/sec: 68.12MB | |
| # Elixir + Plug warmed | |
| $ wrk -t4 -c100 -d30S --timeout 2000 "http://127.0.0.1:4000/showdown" | |
| Running 30s test @ http://127.0.0.1:4000/showdown | |
| 4 threads and 100 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 7.44ms 25.29ms 148.97ms 96.03% | |
| Req/Sec 9.81k 2.90k 22.11k 78.34% | |
| 1115026 requests in 30.00s, 2.24GB read | |
| Requests/sec: 37168.03 | |
| Transfer/sec: 76.53MB | |
| # GO 1.4 + Martini | |
| $ wrk -t4 -c100 -d30S --timeout 2000 "http://127.0.0.1:3000/showdown" | |
| Running 30s test @ http://127.0.0.1:3000/showdown | |
| 4 threads and 100 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 9.47ms 14.37ms 149.31ms 89.22% | |
| Req/Sec 2.70k 344.94 3.80k 68.58% | |
| 321206 requests in 30.00s, 639.30MB read | |
| Requests/sec: 10706.85 | |
| Transfer/sec: 21.31MB | |
| # GO 1.4 + Gin | |
| $ wrk -t4 -c100 -d30S --timeout 2000 "http://127.0.0.1:3000/showdown" | |
| Running 30s test @ http://127.0.0.1:3000/showdown | |
| 4 threads and 100 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 2.62ms 1.04ms 24.72ms 79.82% | |
| Req/Sec 10.12k 0.87k 14.56k 69.63% | |
| 1148855 requests in 30.00s, 2.23GB read | |
| Requests/sec: 38298.23 | |
| Transfer/sec: 76.23MB | |
| # Node cluster 4 nodes (Node v 0.12.0) | |
| $ wrk -t4 -c100 -d30S --timeout 2000 "http://127.0.0.1:3000/showdown" | |
| Running 30s test @ http://127.0.0.1:3000/showdown | |
| 4 threads and 100 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 6.69ms 1.60ms 45.24ms 86.33% | |
| Req/Sec 3.87k 407.65 5.17k 68.07% | |
| 450616 requests in 30.00s, 0.92GB read | |
| Requests/sec: 15020.58 | |
| Transfer/sec: 31.39MB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment