Skip to content

Instantly share code, notes, and snippets.

@juliamae
Created December 10, 2011 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliamae/1453918 to your computer and use it in GitHub Desktop.
Save juliamae/1453918 to your computer and use it in GitHub Desktop.
Shareabouts benchmark for 2011-12-09
Summary
=======
locations.json with 22 points
-------
Total transferred: 439900 bytes
HTML transferred: 400200 bytes
Requests per second: 25.56 [#/sec] (mean)
Time per request: 39.124 [ms] (mean)
locations.json with 1022 points
-------
Total transferred: 14217200 bytes
HTML transferred: 14177500 bytes
Requests per second: 1.18 [#/sec] (mean)
Time per request: 844.855 [ms] (mean)
locations/1677.json with 101 votes, no comments
-------
Total transferred: 304100 bytes
HTML transferred: 230000 bytes
Requests per second: 22.16 [#/sec] (mean)
Time per request: 45.122 [ms] (mean)
locations/1677.json with 101 votes, 20 comments
-------
Total transferred: 698200 bytes
HTML transferred: 624100 bytes
Requests per second: 15.73 [#/sec] (mean)
Time per request: 63.568 [ms] (mean)
Full benchmarks output (with request breakdown for feature JSON)
=======
1014 points, locations.json, local
-------
Benchmarking localhost (be patient).....done
Server Software: WEBrick/1.3.1
Server Hostname: localhost
Server Port: 3000
Document Path: /locations.json
Document Length: 141092 bytes
Concurrency Level: 1
Time taken for tests: 55.690 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 14142700 bytes
HTML transferred: 14109200 bytes
Requests per second: 1.80 [#/sec] (mean)
Time per request: 556.897 [ms] (mean)
Time per request: 556.897 [ms] (mean, across all concurrent requests)
Transfer rate: 248.00 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 25 198 239.6 40 596
Processing: 1 359 241.9 505 615
Waiting: 0 358 241.9 504 614
Total: 529 557 22.1 552 657
Percentage of the requests served within a certain time (ms)
50% 552
66% 565
75% 569
80% 572
90% 586
95% 595
98% 629
99% 657
100% 657 (longest request)
22 points, locations.json, production
-------
Benchmarking shareabouts.dev.openplans.org (be patient).....done
Server Software: Apache/2.2.14
Server Hostname: shareabouts.dev.openplans.org
Server Port: 80
Document Path: /locations.json
Document Length: 4002 bytes
Concurrency Level: 1
Time taken for tests: 3.912 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 439900 bytes
HTML transferred: 400200 bytes
Requests per second: 25.56 [#/sec] (mean)
Time per request: 39.124 [ms] (mean)
Time per request: 39.124 [ms] (mean, across all concurrent requests)
Transfer rate: 109.80 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 23 36 20.0 31 138
Processing: 0 3 4.4 0 24
Waiting: 0 1 3.4 0 21
Total: 24 39 22.3 34 138
Percentage of the requests served within a certain time (ms)
50% 34
66% 36
75% 38
80% 38
90% 42
95% 119
98% 126
99% 138
100% 138 (longest request)
1022 points, locations.json, production
-------
Benchmarking shareabouts.dev.openplans.org (be patient).....done
Server Software: Apache/2.2.14
Server Hostname: shareabouts.dev.openplans.org
Server Port: 80
Document Path: /locations.json
Document Length: 141775 bytes
Concurrency Level: 1
Time taken for tests: 84.485 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 14217200 bytes
HTML transferred: 14177500 bytes
Requests per second: 1.18 [#/sec] (mean)
Time per request: 844.855 [ms] (mean)
Time per request: 844.855 [ms] (mean, across all concurrent requests)
Transfer rate: 164.34 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 572 818 371.3 803 3517
Processing: 0 27 41.7 27 418
Waiting: 0 0 0.0 0 0
Total: 597 845 373.2 829 3542
Percentage of the requests served within a certain time (ms)
50% 829
66% 835
75% 839
80% 841
90% 858
95% 1042
98% 3133
99% 3542
100% 3542 (longest request)
101 votes, no comments, locations/2004.json, local
-------
Benchmarking localhost (be patient).....done
Server Software: WEBrick/1.3.1
Server Hostname: localhost
Server Port: 3000
Document Path: /locations/2004.json
Document Length: 2190 bytes
Concurrency Level: 1
Time taken for tests: 15.645 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 286700 bytes
HTML transferred: 219000 bytes
Requests per second: 6.39 [#/sec] (mean)
Time per request: 156.449 [ms] (mean)
Time per request: 156.449 [ms] (mean, across all concurrent requests)
Transfer rate: 17.90 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 46 75 38.1 61 221
Processing: 1 81 46.5 78 164
Waiting: 0 80 46.5 77 163
Total: 130 156 33.2 140 223
Percentage of the requests served within a certain time (ms)
50% 140
66% 143
75% 168
80% 211
90% 216
95% 219
98% 222
99% 223
100% 223 (longest request)
101 votes, no comments, locations/1677.json, production
-------
Benchmarking shareabouts.dev.openplans.org (be patient).....done
Server Software: Apache/2.2.14
Server Hostname: shareabouts.dev.openplans.org
Server Port: 80
Document Path: /locations/1677.json
Document Length: 2300 bytes
Concurrency Level: 1
Time taken for tests: 4.512 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 304100 bytes
HTML transferred: 230000 bytes
Requests per second: 22.16 [#/sec] (mean)
Time per request: 45.122 [ms] (mean)
Time per request: 45.122 [ms] (mean, across all concurrent requests)
Transfer rate: 65.82 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 17 40 24.3 33 140
Processing: 0 5 4.5 4 27
Waiting: 0 1 3.1 0 17
Total: 28 45 25.3 37 145
Percentage of the requests served within a certain time (ms)
50% 37
66% 40
75% 42
80% 43
90% 61
95% 119
98% 134
99% 145
100% 145 (longest request)
### Request Breakdown
Started GET "/locations/1677.json" for 10.52.15.123 at 2011-12-09 23:14:41 +0000
Processing by FeaturePointsController#show as JSON
Parameters: {"id"=>"1677"}
Rendered votes/_new.html.erb (3.4ms)
Rendered shared/_share.html.erb (1.5ms)
Rendered comments/_new.html.erb (1.6ms)
Rendered shared/_discussion.html.erb (1.7ms)
Rendered feature_points/_show.html.erb (10.9ms)
Completed 200 OK in 14ms (Views: 0.5ms | ActiveRecord: 3.1ms)
101 votes, 20 comments, locations/1677.json, production
-------
Benchmarking shareabouts.dev.openplans.org (be patient).....done
Server Software: Apache/2.2.14
Server Hostname: shareabouts.dev.openplans.org
Server Port: 80
Document Path: /locations/1677.json
Document Length: 6241 bytes
Concurrency Level: 1
Time taken for tests: 6.357 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 698200 bytes
HTML transferred: 624100 bytes
Requests per second: 15.73 [#/sec] (mean)
Time per request: 63.568 [ms] (mean)
Time per request: 63.568 [ms] (mean, across all concurrent requests)
Transfer rate: 107.26 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 41 63 29.4 53 144
Processing: 0 1 0.9 0 5
Waiting: 0 0 0.0 0 0
Total: 43 64 29.3 54 144
WARNING: The median and mean for the processing 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% 54
66% 56
75% 58
80% 60
90% 135
95% 140
98% 142
99% 144
100% 144 (longest request)
### Request Breakdown
Started GET "/locations/1677.json" for 10.52.15.123 at 2011-12-09 23:29:14 +0000
Processing by FeaturePointsController#show as JSON
Parameters: {"id"=>"1677"}
Rendered votes/_new.html.erb (3.6ms)
Rendered shared/_share.html.erb (1.6ms)
Rendered comments/_new.html.erb (1.8ms)
Rendered shared/_discussion.html.erb (14.5ms)
Rendered feature_points/_show.html.erb (24.6ms)
Completed 200 OK in 30ms (Views: 0.7ms | ActiveRecord: 4.2ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment