Skip to content

Instantly share code, notes, and snippets.

@bobanj
Created January 29, 2011 17:49
Show Gist options
  • Select an option

  • Save bobanj/802039 to your computer and use it in GitHub Desktop.

Select an option

Save bobanj/802039 to your computer and use it in GitHub Desktop.
Apache Benchmark on my blog app, ruby 1.9.2 and ruby 1.8.7 ree
command: ab -n 500 -c 5 http://localhost:3000/
# Results with - Ruby 1.9.2
Server Software: nginx/0.8.53
Server Hostname: localhost
Server Port: 3000
Document Path: /
Document Length: 17288 bytes
Concurrency Level: 5
Time taken for tests: 136.919 seconds
Complete requests: 500
Failed requests: 0
Write errors: 0
Total transferred: 8953500 bytes
HTML transferred: 8644000 bytes
Requests per second: 3.65 [#/sec] (mean)
Time per request: 1369.195 [ms] (mean)
Time per request: 273.839 [ms] (mean, across all concurrent requests)
Transfer rate: 63.86 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 1
Processing: 921 1366 195.3 1347 3133
Waiting: 921 1364 195.0 1346 3133
Total: 922 1366 195.3 1347 3133
Percentage of the requests served within a certain time (ms)
50% 1347
66% 1435
75% 1456
80% 1476
90% 1540
95% 1593
98% 1680
99% 1776
100% 3133 (longest request)
Results# ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-linux], MBARI 0x8770, Ruby Enterprise Edition 2010.02
Server Software: nginx/0.8.53
Server Hostname: localhost
Server Port: 3000
Document Path: /
Document Length: 17288 bytes
Concurrency Level: 5
Time taken for tests: 113.838 seconds
Complete requests: 500
Failed requests: 0
Write errors: 0
Total transferred: 8944500 bytes
HTML transferred: 8644000 bytes
Requests per second: 4.39 [#/sec] (mean)
Time per request: 1138.383 [ms] (mean)
Time per request: 227.677 [ms] (mean, across all concurrent requests)
Transfer rate: 76.73 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.1 0 2
Processing: 683 1136 247.2 1089 2532
Waiting: 683 1135 247.4 1089 2531
Total: 683 1136 247.2 1090 2533
Percentage of the requests served within a certain time (ms)
50% 1090
66% 1179
75% 1357
80% 1374
90% 1427
95% 1497
98% 1664
99% 1748
100% 2533 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment