Skip to content

Instantly share code, notes, and snippets.

@lunks
Created May 27, 2013 03:55
Show Gist options
  • Save lunks/5655119 to your computer and use it in GitHub Desktop.
Save lunks/5655119 to your computer and use it in GitHub Desktop.
Rails Benchmark with Puma and MRI 2.0
#first run
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking benchmark-rails-puma-mri.herokuapp.com (be patient)
Server Software:
Server Hostname: benchmark-rails-puma-mri.herokuapp.com
Server Port: 80
Document Path: /
Document Length: 31181 bytes
Concurrency Level: 50
Time taken for tests: 16.686 seconds
Complete requests: 500
Failed requests: 1
(Connect: 0, Receive: 0, Length: 1, Exceptions: 0)
Write errors: 0
Total transferred: 15972038 bytes
HTML transferred: 15559319 bytes
Requests per second: 29.96 [#/sec] (mean)
Time per request: 1668.626 [ms] (mean)
Time per request: 33.373 [ms] (mean, across all concurrent requests)
Transfer rate: 934.76 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 15 16 0.4 16 20
Processing: 18 1583 3617.6 646 16670
Waiting: 0 1561 3617.9 621 16650
Total: 33 1598 3617.6 662 16686
Percentage of the requests served within a certain time (ms)
50% 662
66% 722
75% 793
80% 852
90% 1124
95% 15993
98% 16488
99% 16641
100% 16686 (longest request)
#second run
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking benchmark-rails-puma-mri.herokuapp.com (be patient)
Server Software:
Server Hostname: benchmark-rails-puma-mri.herokuapp.com
Server Port: 80
Document Path: /
Document Length: 31181 bytes
Concurrency Level: 50
Time taken for tests: 22.558 seconds
Complete requests: 500
Failed requests: 0
Write errors: 0
Total transferred: 16004138 bytes
HTML transferred: 15590500 bytes
Requests per second: 22.17 [#/sec] (mean)
Time per request: 2255.790 [ms] (mean)
Time per request: 45.116 [ms] (mean, across all concurrent requests)
Transfer rate: 692.84 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 15 17 1.2 16 28
Processing: 141 2027 4485.6 843 22538
Waiting: 124 2000 4485.6 810 22519
Total: 157 2044 4485.7 861 22557
Percentage of the requests served within a certain time (ms)
50% 861
66% 1052
75% 1223
80% 1366
90% 1891
95% 10999
98% 21896
99% 22312
100% 22557 (longest request)
#third run
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking benchmark-rails-puma-mri.herokuapp.com (be patient)
Server Software:
Server Hostname: benchmark-rails-puma-mri.herokuapp.com
Server Port: 80
Document Path: /
Document Length: 31181 bytes
Concurrency Level: 50
Time taken for tests: 39.121 seconds
Complete requests: 500
Failed requests: 27
(Connect: 0, Receive: 0, Length: 27, Exceptions: 0)
Write errors: 0
Non-2xx responses: 27
Total transferred: 15161452 bytes
HTML transferred: 14764840 bytes
Requests per second: 12.78 [#/sec] (mean)
Time per request: 3912.094 [ms] (mean)
Time per request: 78.242 [ms] (mean, across all concurrent requests)
Transfer rate: 378.47 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 15 17 1.0 16 19
Processing: 570 3713 6717.2 1535 30080
Waiting: 548 3688 6722.8 1509 30080
Total: 586 3730 6717.2 1551 30096
WARNING: The median and mean for the initial connection time are not within a normal deviation
These results are probably not that reliable.
Percentage of the requests served within a certain time (ms)
50% 1551
66% 2042
75% 2546
80% 3036
90% 7586
95% 30044
98% 30060
99% 30065
100% 30096 (longest request)
Best:
min 33 ms
max 16696 ms
req/s 29.96 req/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment