Re: speeding a site with lots of includes
| From: | Chris Lee | Date: | Tue, 06 Mar 2001 00:26:10 +0000 |
| Subject: | Re: speeding a site with lots of includes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42698@lists.php.net to get a copy of this message | ||
I found 0.002 for the first include, and 0.0001 second for a refresh not to bad.
PIII-500 512mb ram
PHP-4.0.4pl1
no zend-optimizer, no zend-cache
the refresh is less because linux caches the file in it internal buffer. I wouldnt consider 0.002sec
that bad of a hit. you could have 50hit/sec with 10 includes each on ALL difernet files. you could
have 1000hit/sec on the same files.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
lee@mediawaveonline.com
""Eduardo Dominguez"" <lalo_dominguez@yahoo.com> wrote in message news:981385$21k$1@toye.p.sourceforge.net...
An app I am currently developing has grown a lot. It currently
handles aproximately 12 includes, more or less 13 thousand lines
of code.
By doing some benchmarks, i realized that the bottleneck is the include()
payload.
How can I optimize a program like this one ?
thanks in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net