Heute habe ich mir das Plugin „WP Super Cache“ angesehen und einen kleinen Benchmark gemacht.
Vor der Installation von „WP Super Cache“:
Requests per second: 23.34 [#/sec] (mean)
ab -n 100 -c 10 https://kekz.org/ This is ApacheBench, Version 2.3 < $Revision: 1528965 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking kekz.org (be patient).....done Server Software: nginx/1.9.12 Server Hostname: kekz.org Server Port: 443 SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256 Document Path: / Document Length: 32264 bytes Concurrency Level: 10 Time taken for tests: 4.285 seconds Complete requests: 100 Failed requests: 0 Total transferred: 3277200 bytes HTML transferred: 3226400 bytes Requests per second: 23.34 [#/sec] (mean) Time per request: 428.478 [ms] (mean) Time per request: 42.848 [ms] (mean, across all concurrent requests) Transfer rate: 746.92 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 53 77 104.7 61 1060 Processing: 169 339 61.3 347 510 Waiting: 152 295 53.1 301 445 Total: 229 416 121.0 411 1424 Percentage of the requests served within a certain time (ms) 50% 411 66% 440 75% 454 80% 460 90% 480 95% 524 98% 608 99% 1424 100% 1424 (longest request)
Nach der Installation von „WP Super Cache“:
Requests per second: 66.32 [#/sec] (mean)
ab -n 100 -c 10 https://kekz.org/ This is ApacheBench, Version 2.3 < $Revision: 1528965 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking kekz.org (be patient).....done Server Software: nginx/1.9.12 Server Hostname: kekz.org Server Port: 443 SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256 Document Path: / Document Length: 32436 bytes Concurrency Level: 10 Time taken for tests: 1.508 seconds Complete requests: 100 Failed requests: 0 Total transferred: 3307149 bytes HTML transferred: 3243600 bytes Requests per second: 66.32 [#/sec] (mean) Time per request: 150.785 [ms] (mean) Time per request: 15.078 [ms] (mean, across all concurrent requests) Transfer rate: 2141.89 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 56 76 99.4 66 1058 Processing: 41 70 53.3 54 290 Waiting: 38 67 53.1 51 288 Total: 97 146 112.6 120 1116 Percentage of the requests served within a certain time (ms) 50% 120 66% 123 75% 126 80% 130 90% 271 95% 307 98% 353 99% 1116 100% 1116 (longest request)
Wie man hier klar erkennen kann, ist durch die Installation die Anzahl der möglichen Requests pro Sekunde schon sehr deutlich angestiegen. Für den Arbeitsaufwand von 5 Minuten ist so eine Steigerung echt beachtlich. 🙂