# ab -c 20 -n 100 http://www.mk-mode.com/rails/
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 www.mk-mode.com (be patient).....done
Server Software: nginx
Server Hostname: www.mk-mode.com
Server Port: 80
Document Path: /rails/
Document Length: 35519 bytes
Concurrency Level: 20
Time taken for tests: 23.738 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 3630800 bytes
HTML transferred: 3551900 bytes
Requests per second: 4.21 [#/sec] (mean)
Time per request: 4747.621 [ms] (mean)
Time per request: 237.381 [ms] (mean, across all concurrent requests)
Transfer rate: 149.37 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 2.3 0 6
Processing: 236 4380 1190.4 4560 5587
Waiting: 231 4379 1190.6 4560 5586
Total: 237 4381 1189.1 4566 5587
Percentage of the requests served within a certain time (ms)
50% 4566
66% 5266
75% 5345
80% 5394
90% 5461
95% 5488
98% 5566
99% 5587
100% 5587 (longest request)
# ab -c 20 -n 100 http://www.mk-mode.com/rails/
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 www.mk-mode.com (be patient).....done
Server Software: nginx
Server Hostname: www.mk-mode.com
Server Port: 80
Document Path: /rails/
Document Length: 35519 bytes
Concurrency Level: 20
Time taken for tests: 19.991 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 3630800 bytes
HTML transferred: 3551900 bytes
Requests per second: 5.00 [#/sec] (mean)
Time per request: 3998.161 [ms] (mean)
Time per request: 199.908 [ms] (mean, across all concurrent requests)
Transfer rate: 177.37 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 2.3 0 6
Processing: 238 3626 968.0 3908 4639
Waiting: 235 3626 968.2 3908 4639
Total: 239 3628 966.4 3908 4640
Percentage of the requests served within a certain time (ms)
50% 3908
66% 3969
75% 4082
80% 4181
90% 4537
95% 4546
98% 4638
99% 4640
100% 4640 (longest request)
元々、Ruby on Rails という動的アプリである上に重い処理を行なっているページなので、動的部分で時間がかかっているようだが、それでも1〜2割程度はパフォーマンス向上しているような結果となった。