======= Before -- with require_once/include_once ====== ap8:wiki $ /opt/wikia/apache/bin/ab -n 500 -c 10 http://muppet.wikia.com/wiki/Muppet_Wiki 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 muppet.wikia.com (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Finished 500 requests Server Software: Apache Server Hostname: muppet.wikia.com Server Port: 80 Document Path: /wiki/Muppet_Wiki Document Length: 51937 bytes Concurrency Level: 10 Time taken for tests: 23.283253 seconds Complete requests: 500 Failed requests: 0 Write errors: 0 Total transferred: 26334000 bytes HTML transferred: 25968500 bytes Requests per second: 21.47 [#/sec] (mean) Time per request: 465.665 [ms] (mean) Time per request: 46.567 [ms] (mean, across all concurrent requests) Transfer rate: 1104.48 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 114 463 496.5 322 2838 Waiting: 105 444 497.6 298 2822 Total: 114 463 496.5 322 2838 Percentage of the requests served within a certain time (ms) 50% 322 66% 353 75% 380 80% 402 90% 567 95% 2036 98% 2373 99% 2668 100% 2838 (longest request) ======= After -- with require/include ====== ap8:conf $ /opt/wikia/apache/bin/ab -n 500 -c 10 http://muppet.wikia.com/wiki/Muppet_Wiki 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 muppet.wikia.com (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Finished 500 requests Server Software: Apache Server Hostname: muppet.wikia.com Server Port: 80 Document Path: /wiki/Muppet_Wiki Document Length: 51959 bytes Concurrency Level: 10 Time taken for tests: 18.248513 seconds Complete requests: 500 Failed requests: 0 Write errors: 0 Total transferred: 26345000 bytes HTML transferred: 25979500 bytes Requests per second: 27.40 [#/sec] (mean) Time per request: 364.970 [ms] (mean) Time per request: 36.497 [ms] (mean, across all concurrent requests) Transfer rate: 1409.81 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 117 363 377.4 284 2878 Waiting: 108 341 376.1 255 2859 Total: 117 363 377.4 284 2878 Percentage of the requests served within a certain time (ms) 50% 284 66% 326 75% 370 80% 397 90% 455 95% 540 98% 2332 99% 2819 100% 2878 (longest request)