logos

With Andrii Grytsenko


Technical Diary - With Andrii Grytsenko

WP Super Cache plugin

I’ve installed new plugin to my blog. It’s called WP Super Cache. And I want to show you some benchmarks.

I download siege to make benchmarks:

apt-get install siege

Then prepared list of urls, actually I took it from my sitemap.xml and normalized it in next format:

root@laptop:~# head url.txt

http://andriigrytsenko.net

http://andriigrytsenko.net/2011/07/apache-vs-nginx-vs-lighttpd-and-static-content

http://andriigrytsenko.net/2011/07/ldap-mss-replication

http://andriigrytsenko.net/2011/07/pacemaker-and-apache

Then run siege with/without caching plugin with next arguments:

siege -t1M -i -A 'Chrome/12.0.742.112 Safari/534.30' -f url.txt

where
-t1M – means run siege during one minute
-i – download links randomly from the list
-A – user-agent description
-f – path to file contains urls.

And get next results:

Description With caching Without caching
Transactions(hits) 1609 252
Availability(%) 100.00 100.00
Elapsed time(s) 59.82 59.72
Data transferred(MB) 16.75 10.30
Response time(s) 0.05 3.01
Transaction rate(trans/sec) 26.90 4.22
Throughput(MB/sec) 0.28 0.17
Concurrency 1.47 12.72
Successful transactions 1609 252
Failed transactions 0 0
Longest transaction 0.55 10.39
Shortest transaction 0.02 1.44

If you blog doesn’t have a lot of updates like my does, then apparently it is a good idea to install and active caching plugin.