|
Re: filter caching (done :): msg#01057php.drupal.devel
We have apachebenched our site without filter caching and with filter caching, and we experienced an average of five times speed increase if caching is used. Therefore I would only suggest it to anybody who is in the trouble of not being able to use expensive filters because of their extremely slow code... Feel free to do more benchmarks against it :) Dries asked me to back my writing with some exact benchmarks :) Here they are (hostname hidden). These have been done today, and these only show a four time increase in speed. I also had benchmarks showing 0.11 requests / second without filter caching and 0.55 requests / second with filter caching yesterday, but since then, our homepage contents (nodes displayed), changed completely, and the diferrent data set provides different results obviously... ------------------------------------------------------------------------------------ With all the filters turned on, using APC, without filter caching ------------------------------------------------------------------------------------ ./ab -n 100 -c 5 http://**************************.hu/ This is ApacheBench, Version 1.3d <$Revision: 1.70 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking eljenekacsajok.weblabor.hu (be patient).....done Server Software: Apache/1.3.29 Server Hostname: **************************.hu Server Port: 80 Document Path: / Document Length: 25682 bytes Concurrency Level: 5 Time taken for tests: 825.181 seconds Complete requests: 100 Failed requests: 0 Broken pipe errors: 0 Total transferred: 2599500 bytes HTML transferred: 2568200 bytes Requests per second: 0.12 [#/sec] (mean) Time per request: 41259.05 [ms] (mean) Time per request: 8251.81 [ms] (mean, across all concurrent requests) Transfer rate: 3.15 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 43 444 862.8 102 3175 Processing: 35998 40362 3609.6 39181 49533 Waiting: 35351 40362 3609.6 39181 49532 Total: 35998 40806 3778.9 39493 51182 Percentage of the requests served within a certain time (ms) 50% 39493 66% 41981 75% 42800 80% 44630 90% 46978 95% 48751 98% 49585 99% 50159 100% 51182 (last request) ------------------------------------------------------------------------------------ With all the filters turned on, using APC, with filter caching ------------------------------------------------------------------------------------ ./ab -n 100 -c 5 http://**************************.hu/ This is ApacheBench, Version 1.3d <$Revision: 1.70 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking eljenekacsajok.weblabor.hu (be patient).....done Server Software: Apache/1.3.29 Server Hostname: **************************.hu Server Port: 80 Document Path: / Document Length: 25682 bytes Concurrency Level: 5 Time taken for tests: 205.370 seconds Complete requests: 100 Failed requests: 0 Broken pipe errors: 0 Total transferred: 2599500 bytes HTML transferred: 2568200 bytes Requests per second: 0.49 [#/sec] (mean) Time per request: 10268.50 [ms] (mean) Time per request: 2053.70 [ms] (mean, across all concurrent requests) Transfer rate: 12.66 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 36 187 520.9 55 3132 Processing: 5975 9782 2216.9 9630 18917 Waiting: 5917 9782 2216.9 9629 18916 Total: 5975 9970 2226.6 9852 18971 Percentage of the requests served within a certain time (ms) 50% 9852 66% 10607 75% 11121 80% 11401 90% 12994 95% 13623 98% 14813 99% 16662 100% 18971 (last request) |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Login/register forms in comment form: 01057, Dries Buytaert |
|---|---|
| Next by Date: | Re: [ANNOUNCE] navigation.module: 01057, Dries Buytaert |
| Previous by Thread: | filter caching (done :)i: 01057, Gabor Hojtsy |
| Next by Thread: | Re: [support] Export using SELECT DISTINCT: 01057, Gerhard Killesreiter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |