どの程度に効果があるものか。localhostでのテストなので前後比較しか参考にはならない。
導入前:秒間331.45リクエスト。
$ ab -n 500 -c 50 http://blog.kenji00.com/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/
Benchmarking blog.kenji00.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Finished 500 requests
Server Software: Apache
Server Hostname: blog.kenji00.com
Server Port: 80
Document Path: /
Document Length: 47020 bytes
Concurrency Level: 50
Time taken for tests: 1.508537 seconds
Complete requests: 500
Failed requests: 0
Write errors: 0
Total transferred: 23677463 bytes
HTML transferred: 23589613 bytes
Requests per second: 331.45 [#/sec] (mean)
Time per request: 150.854 [ms] (mean)
Time per request: 3.017 [ms] (mean, across all concurrent requests)
Transfer rate: 15327.43 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 9 24.0 2 159
Processing: 12 134 61.3 129 279
Waiting: 11 118 61.4 114 244
Total: 29 144 59.8 134 285
Percentage of the requests served within a certain time (ms)
50% 134
66% 185
75% 197
80% 203
90% 213
95% 239
98% 247
99% 249
100% 285 (longest request)
最近のコメント