Articles Comments

ちからの備忘録的日記 » wordpress » WP Super Cache と W3 Total Cache のベンチマーク比較

WP Super Cache と W3 Total Cache のベンチマーク比較




最近、W3 Total Cache の方が性能がいいよということで、ab コマンドを使ってベンチマークを取得してみました。

WP Super Cache

# ab -c 2 -n 100 http://nemf.quickboy.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 nemf.quickboy.com (be patient).....done


Server Software:        Apache/2.2.3
Server Hostname:        nemf.quickboy.com
Server Port:            80

Document Path:          /
Document Length:        64519 bytes

Concurrency Level:      2
Time taken for tests:   0.399927 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      6481200 bytes
HTML transferred:       6451900 bytes
Requests per second:    250.05 [#/sec] (mean)
Time per request:       7.999 [ms] (mean)
Time per request:       3.999 [ms] (mean, across all concurrent requests)
Transfer rate:          15825.39 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    1   0.5      1       2
Processing:     5    6   0.7      6       8
Waiting:        2    2   0.8      2       5
Total:          6    7   0.7      7       9

Percentage of the requests served within a certain time (ms)
  50%      7
  66%      8
  75%      8
  80%      8
  90%      8
  95%      8
  98%      9
  99%      9
 100%      9 (longest request)

W3 Total Cache

# ab -c 2 -n 100 http://nemf.quickboy.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 nemf.quickboy.com (be patient).....done


Server Software:        Apache/2.2.3
Server Hostname:        nemf.quickboy.com
Server Port:            80

Document Path:          /
Document Length:        63496 bytes

Concurrency Level:      2
Time taken for tests:   0.304268 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      6385000 bytes
HTML transferred:       6349600 bytes
Requests per second:    328.66 [#/sec] (mean)
Time per request:       6.085 [ms] (mean)
Time per request:       3.043 [ms] (mean, across all concurrent requests)
Transfer rate:          20491.80 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.9      1       1
Processing:     4    4   0.9      5       6
Waiting:        1    1   0.7      1       3
Total:          5    5   0.8      6       7

Percentage of the requests served within a certain time (ms)
  50%      6
  66%      6
  75%      6
  80%      6
  90%      6
  95%      6
  98%      6
  99%      7
 100%      7 (longest request)

考察

W3 Total Cache の方が、30%近く性能がいいですね。

ということで、W3 Total Cache を当分使っていこうかなと思います。

参考

WordPress › WP Super Cache « WordPress Plugins

WordPress › W3 Total Cache « WordPress Plugins

Related Posts Plugin for WordPress, Blogger...

Filed under: wordpress · Tags: , , ,

Leave a Reply

*