Skip to content

Instantly share code, notes, and snippets.

@matthooks
Created April 6, 2012 22:55
Show Gist options
  • Save matthooks/2323735 to your computer and use it in GitHub Desktop.
Save matthooks/2323735 to your computer and use it in GitHub Desktop.
Performance comparison for Facebook app between Thin and Unicorn
Server Software: thin
Server Hostname: localhost
Server Port: 5000
Document Path: /serve?username=nowspots
Document Length: 3070 bytes
Concurrency Level: 10
Time taken for tests: 146.587 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 33833528 bytes
HTML transferred: 30712280 bytes
Requests per second: 68.22 [#/sec] (mean)
Time per request: 146.587 [ms] (mean)
Time per request: 14.659 [ms] (mean, across all concurrent requests)
Transfer rate: 225.40 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.3 0 12
Processing: 35 146 26.2 162 471
Waiting: 23 145 27.7 162 470
Total: 35 146 26.2 163 471
Percentage of the requests served within a certain time (ms)
50% 163
66% 163
75% 164
80% 164
90% 164
95% 165
98% 166
99% 171
100% 471 (longest request)
Server Software: thin
Server Hostname: nowspots-facebook-staging.herokuapp.com
Server Port: 80
Document Path: /serve?username=nowspots
Document Length: 3139 bytes
Concurrency Level: 10
Time taken for tests: 88.964 seconds
Complete requests: 5000
Failed requests: 0
Write errors: 0
Total transferred: 17696448 bytes
HTML transferred: 15696048 bytes
Requests per second: 56.20 [#/sec] (mean)
Time per request: 177.927 [ms] (mean)
Time per request: 17.793 [ms] (mean, across all concurrent requests)
Transfer rate: 194.26 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 32 42 6.0 40 92
Processing: 46 136 115.5 108 1584
Waiting: 45 132 114.8 103 1580
Total: 85 178 115.3 150 1632
Percentage of the requests served within a certain time (ms)
50% 150
66% 171
75% 188
80% 203
90% 264
95% 366
98% 528
99% 615
100% 1632 (longest request)
Server Software:
Server Hostname: localhost
Server Port: 5000
Document Path: /serve?username=nowspots
Document Length: 3070 bytes
Concurrency Level: 10
Time taken for tests: 136.733 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 33900000 bytes
HTML transferred: 30700000 bytes
Requests per second: 73.14 [#/sec] (mean)
Time per request: 136.733 [ms] (mean)
Time per request: 13.673 [ms] (mean, across all concurrent requests)
Transfer rate: 242.12 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.5 0 29
Processing: 20 136 36.2 133 469
Waiting: 20 135 36.0 131 469
Total: 20 137 36.2 133 470
Percentage of the requests served within a certain time (ms)
50% 133
66% 147
75% 160
80% 167
90% 185
95% 199
98% 218
99% 231
100% 470 (longest request)
Server Software:
Server Hostname: localhost
Server Port: 5000
Document Path: /serve?username=nowspots
Document Length: 3070 bytes
Concurrency Level: 10
Time taken for tests: 134.249 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 33900000 bytes
HTML transferred: 30700000 bytes
Requests per second: 74.49 [#/sec] (mean)
Time per request: 134.249 [ms] (mean)
Time per request: 13.425 [ms] (mean, across all concurrent requests)
Transfer rate: 246.60 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.7 0 60
Processing: 40 134 43.9 125 683
Waiting: 39 131 43.4 122 683
Total: 40 134 43.9 125 683
Percentage of the requests served within a certain time (ms)
50% 125
66% 140
75% 153
80% 162
90% 192
95% 218
98% 244
99% 260
100% 683 (longest request)
Server Software:
Server Hostname: localhost
Server Port: 5000
Document Path: /serve?username=nowspots
Document Length: 3070 bytes
Concurrency Level: 10
Time taken for tests: 143.527 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 33900000 bytes
HTML transferred: 30700000 bytes
Requests per second: 69.67 [#/sec] (mean)
Time per request: 143.527 [ms] (mean)
Time per request: 14.353 [ms] (mean, across all concurrent requests)
Transfer rate: 230.66 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 3.3 0 91
Processing: 19 143 63.6 128 951
Waiting: 18 139 62.8 123 950
Total: 22 143 63.6 128 951
Percentage of the requests served within a certain time (ms)
50% 128
66% 146
75% 160
80% 170
90% 219
95% 284
98% 322
99% 344
100% 951 (longest request)
Server Software:
Server Hostname: localhost
Server Port: 5000
Document Path: /serve?username=nowspots
Document Length: 3070 bytes
Concurrency Level: 10
Time taken for tests: 136.733 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 33900000 bytes
HTML transferred: 30700000 bytes
Requests per second: 73.14 [#/sec] (mean)
Time per request: 136.733 [ms] (mean)
Time per request: 13.673 [ms] (mean, across all concurrent requests)
Transfer rate: 242.12 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.5 0 29
Processing: 20 136 36.2 133 469
Waiting: 20 135 36.0 131 469
Total: 20 137 36.2 133 470
Percentage of the requests served within a certain time (ms)
50% 133
66% 147
75% 160
80% 167
90% 185
95% 199
98% 218
99% 231
100% 470 (longest request)
Server Software:
Server Hostname: localhost
Server Port: 5000
Document Path: /serve?username=nowspots
Document Length: 3070 bytes
Concurrency Level: 10
Time taken for tests: 134.249 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 33900000 bytes
HTML transferred: 30700000 bytes
Requests per second: 74.49 [#/sec] (mean)
Time per request: 134.249 [ms] (mean)
Time per request: 13.425 [ms] (mean, across all concurrent requests)
Transfer rate: 246.60 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 1.7 0 60
Processing: 40 134 43.9 125 683
Waiting: 39 131 43.4 122 683
Total: 40 134 43.9 125 683
Percentage of the requests served within a certain time (ms)
50% 125
66% 140
75% 153
80% 162
90% 192
95% 218
98% 244
99% 260
100% 683 (longest request)
Server Software:
Server Hostname: localhost
Server Port: 5000
Document Path: /serve?username=nowspots
Document Length: 3070 bytes
Concurrency Level: 10
Time taken for tests: 143.527 seconds
Complete requests: 10000
Failed requests: 0
Write errors: 0
Total transferred: 33900000 bytes
HTML transferred: 30700000 bytes
Requests per second: 69.67 [#/sec] (mean)
Time per request: 143.527 [ms] (mean)
Time per request: 14.353 [ms] (mean, across all concurrent requests)
Transfer rate: 230.66 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 3.3 0 91
Processing: 19 143 63.6 128 951
Waiting: 18 139 62.8 123 950
Total: 22 143 63.6 128 951
Percentage of the requests served within a certain time (ms)
50% 128
66% 146
75% 160
80% 170
90% 219
95% 284
98% 322
99% 344
100% 951 (longest request)
Server Software:
Server Hostname: nowspots-facebook-staging.herokuapp.com
Server Port: 80
Document Path: /serve?username=nowspots
Document Length: 3139 bytes
Concurrency Level: 10
Time taken for tests: 91.854 seconds
Complete requests: 5000
Failed requests: 0
Write errors: 0
Total transferred: 17445698 bytes
HTML transferred: 15695000 bytes
Requests per second: 54.43 [#/sec] (mean)
Time per request: 183.707 [ms] (mean)
Time per request: 18.371 [ms] (mean, across all concurrent requests)
Transfer rate: 185.48 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 32 42 15.3 40 1022
Processing: 46 142 129.6 101 1790
Waiting: 45 139 128.4 98 1780
Total: 83 183 129.8 143 1827
Percentage of the requests served within a certain time (ms)
50% 143
66% 170
75% 195
80% 216
90% 298
95% 442
98% 621
99% 751
100% 1827 (longest request)
Server Software:
Server Hostname: nowspots-facebook-staging.herokuapp.com
Server Port: 80
Document Path: /serve?username=nowspots
Document Length: 3139 bytes
Concurrency Level: 10
Time taken for tests: 62.958 seconds
Complete requests: 5000
Failed requests: 0
Write errors: 0
Total transferred: 17444400 bytes
HTML transferred: 15695000 bytes
Requests per second: 79.42 [#/sec] (mean)
Time per request: 125.915 [ms] (mean)
Time per request: 12.592 [ms] (mean, across all concurrent requests)
Transfer rate: 270.59 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 34 43 14.0 42 953
Processing: 48 83 45.3 67 747
Waiting: 46 79 41.1 65 453
Total: 86 126 47.3 111 1014
Percentage of the requests served within a certain time (ms)
50% 111
66% 123
75% 132
80% 140
90% 169
95% 209
98% 261
99% 308
100% 1014 (longest request)
Server Software:
Server Hostname: nowspots-facebook-staging.herokuapp.com
Server Port: 80
Document Path: /serve?username=nowspots
Document Length: 3139 bytes
Concurrency Level: 10
Time taken for tests: 64.955 seconds
Complete requests: 5000
Failed requests: 0
Write errors: 0
Total transferred: 17444202 bytes
HTML transferred: 15695000 bytes
Requests per second: 76.98 [#/sec] (mean)
Time per request: 129.911 [ms] (mean)
Time per request: 12.991 [ms] (mean, across all concurrent requests)
Transfer rate: 262.26 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 33 53 49.3 44 1126
Processing: 48 76 45.5 66 1099
Waiting: 47 74 45.2 63 1094
Total: 84 130 87.6 111 1466
Percentage of the requests served within a certain time (ms)
50% 111
66% 117
75% 123
80% 128
90% 141
95% 163
98% 486
99% 560
100% 1466 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment