mod_pagespeed、話題になってますね。
やはりベンチマークといえばEC-CUBE
早速試してみました
インストール
下記を参考にしました
PageSpeed Downloads – Make the Web Faster — Google Developers
さくらのVPSにGoogleのmod_pagespeed入れてみた ::ハブろぐ
ベンチマーク
ab -n 5 http://localhost/eccube-2.4.4/html/
デフォルトのEC-CUBE2.4.4に対してapacheベンチマーク((2回連続して実行した2回目を表示))
~~~
Document Path: /eccube-2.4.4/html/
Document Length: 13273 bytes
Concurrency Level: 1
Time taken for tests: 2.948862 seconds
Complete requests: 5
Failed requests: 0
Write errors: 0
Total transferred: 68195 bytes
HTML transferred: 66365 bytes
Requests per second: 1.70 [#/sec] (mean)
Time per request: 589.772 [ms] (mean)
Time per request: 589.772 [ms] (mean, across all concurrent requests)
Transfer rate: 22.38 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 557 589 35.1 594 642
Waiting: 482 503 14.2 507 520
Total: 557 589 35.1 594 642
Percentage of the requests served within a certain time (ms)
50% 588
66% 600
75% 600
80% 642
90% 642
95% 642
98% 642
99% 642
100% 642 (longest request)
~~~
mod_pagespeedを有効にしてみる
~~~
Document Path: /eccube-2.4.4/html/
Document Length: 21863 bytes
Concurrency Level: 1
Time taken for tests: 2.505854 seconds
Complete requests: 5
Failed requests: 0
Write errors: 0
Total transferred: 111525 bytes
HTML transferred: 109315 bytes
Requests per second: 2.00 [#/sec] (mean)
Time per request: 501.171 [ms] (mean)
Time per request: 501.171 [ms] (mean, across all concurrent requests)
Transfer rate: 43.10 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 0
Processing: 443 500 37.0 512 542
Waiting: 81 404 185.1 478 542
Total: 443 500 37.0 512 542
Percentage of the requests served within a certain time (ms)
50% 504
66% 520
75% 520
80% 542
90% 542
95% 542
98% 542
99% 542
100% 542 (longest request)
~~~
若干早くなったか・・・?
設定変えたところ
/etc/httpd/conf.d/pagespeed.conf
~~~
ModPagespeedUrlPrefix “http://localhost/mod_pagespeed/”
~~~
ここを自分のサーバーのドメインに変えた((変えないと逆に遅くなった))
ソースを見てみると
ヘッダーがこんな感じに(゜Д゜)
~~~
コメント