Skip to content

Instantly share code, notes, and snippets.

@carakan
Created August 28, 2010 20:07
Show Gist options
  • Save carakan/555515 to your computer and use it in GitHub Desktop.
Save carakan/555515 to your computer and use it in GitHub Desktop.
= Demo Application using Rails 3.0 rc2 + ruby 1.9.2 final and Erb templating (Erubis).
$ ab -n 100 -c 15 http://localhost:3001/users
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 localhost (be patient).....done
Server Software: WEBrick/1.3.1
Server Hostname: localhost
Server Port: 3001
Document Path: /users
Document Length: 49502 bytes
Concurrency Level: 15
Time taken for tests: 43.697 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 5010300 bytes
HTML transferred: 4950200 bytes
Requests per second: 2.29 [#/sec] (mean)
Time per request: 6554.585 [ms] (mean)
Time per request: 436.972 [ms] (mean, across all concurrent requests)
Transfer rate: 111.97 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.2 0 1
Processing: 522 6095 1298.5 6532 6888
Waiting: 515 6072 1301.0 6515 6860
Total: 523 6095 1298.3 6532 6888
Percentage of the requests served within a certain time (ms)
50% 6532
66% 6580
75% 6603
80% 6606
90% 6685
95% 6731
98% 6861
99% 6888
100% 6888 (longest request)
= Demo Application using Rails 2.3.8 + ruby 1.8.7 and Erb templating.
$ ab -n 100 -c 15 http://localhost:3002/users
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 localhost (be patient).....done
Server Software:
Server Hostname: localhost
Server Port: 3002
Document Path: /users
Document Length: 126632 bytes
Concurrency Level: 15
Time taken for tests: 44.120 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 12712400 bytes
HTML transferred: 12663200 bytes
Requests per second: 2.27 [#/sec] (mean)
Time per request: 6617.932 [ms] (mean)
Time per request: 441.195 [ms] (mean, across all concurrent requests)
Transfer rate: 281.38 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.2 0 1
Processing: 931 6211 1187.9 6554 7047
Waiting: 602 5883 1192.7 6211 6711
Total: 931 6212 1187.7 6555 7047
Percentage of the requests served within a certain time (ms)
50% 6555
66% 6616
75% 6656
80% 6742
90% 6805
95% 6851
98% 6880
99% 7047
100% 7047 (longest request)
= Demo Application using Rails 3.0 rc2 + ruby 1.9.2 final and Haml templating.
$ ab -n 100 -c 15 http://localhost:3001/users/1
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 localhost (be patient).....done
Server Software: WEBrick/1.3.1
Server Hostname: localhost
Server Port: 3001
Document Path: /users
Document Length: 45268 bytes
Concurrency Level: 15
Time taken for tests: 45.216 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 4586900 bytes
HTML transferred: 4526800 bytes
Requests per second: 2.21 [#/sec] (mean)
Time per request: 6782.390 [ms] (mean)
Time per request: 452.159 [ms] (mean, across all concurrent requests)
Transfer rate: 99.07 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.2 0 1
Processing: 634 6319 1331.9 6774 7334
Waiting: 532 6302 1341.6 6761 7332
Total: 635 6319 1331.8 6774 7334
Percentage of the requests served within a certain time (ms)
50% 6774
66% 6795
75% 6812
80% 6824
90% 6854
95% 6913
98% 7047
99% 7334
100% 7334 (longest request)
= Demo Application using Rails 2.3.8 + ruby 1.8.7 and Haml.
$ ab -n 100 -c 15 http://localhost:3002/users/1
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 localhost (be patient).....done
Server Software:
Server Hostname: localhost
Server Port: 3002
Document Path: /users/1
Document Length: 122308 bytes
Concurrency Level: 15
Time taken for tests: 27.057 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 12280000 bytes
HTML transferred: 12230800 bytes
Requests per second: 3.70 [#/sec] (mean)
Time per request: 4058.510 [ms] (mean)
Time per request: 270.567 [ms] (mean, across all concurrent requests)
Transfer rate: 443.22 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.7 0 2
Processing: 804 3818 679.0 4010 4482
Waiting: 553 3596 680.3 3780 4302
Total: 805 3819 678.7 4010 4484
Percentage of the requests served within a certain time (ms)
50% 4010
66% 4050
75% 4080
80% 4110
90% 4160
95% 4220
98% 4320
99% 4484
100% 4484 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment