概要
- WordPress 4.0が2014年9月頭にリリースされたので早速インストールしてみました。
- 約2年前に投稿したパッチがWordpress 4.0に取り込まれました!
- パッチの内容は、コメントが数万件以上あるサイトで激重クエリーが走って過負荷になってしまうのを0.00秒で終わらせるためのパッチです。
- ついでに、PHP5.5にアップグレードしました。
ベンチマーク
- Quick Cacheを使っているので、そここそ高速です
- CPU: Core i7 2.3GHz (8 cores)
- Server: Mac OS X 10.9.4
- Apache/2.2.26
- PHP 5.5.16 + APCu
- 並列数:10、リクエスト数1000。
- 外部ネットワークから。
結果:122.23 [#/sec]
% ab -n 1000 -c 100 -H 'Accept-Encoding: gzip' https://blog.teraren.com/ This is ApacheBench, Version 2.3 <$Revision: 655654
% ab -n 1000 -c 100 -H 'Accept-Encoding: gzip' https://blog.teraren.com/ 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 matsu.teraren.com (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests Completed 800 requests Completed 900 requests Completed 1000 requests Finished 1000 requests Server Software: Apache/2.2 Server Hostname: matsu.teraren.com Server Port: 80 Document Path: /blog/ Document Length: 15910 bytes Concurrency Level: 100 Time taken for tests: 8.181 seconds Complete requests: 1000 Failed requests: 645 (Connect: 0, Receive: 0, Length: 645, Exceptions: 0) Write errors: 0 Total transferred: 16304309 bytes HTML transferred: 15909309 bytes Requests per second: 122.23 [#/sec] (mean) Time per request: 818.144 [ms] (mean) Time per request: 8.181 [ms] (mean, across all concurrent requests) Transfer rate: 1946.13 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 7 45 43.7 34 369 Processing: 101 726 204.0 722 1956 Waiting: 53 610 169.1 630 1057 Total: 139 772 205.1 760 2006 Percentage of the requests served within a certain time (ms) 50% 760 66% 800 75% 848 80% 905 90% 1061 95% 1103 98% 1209 99% 1274 100% 2006 (longest request)
GTmetrix
ちなみに、GTmetrixはCです。
サードパーティプラグインにおいて評価が悪いので、これ以上スコアを上げるためにはウィジェットを削除するしかないかな。。
Comments