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

 [EMAIL PROTECTED]



""Eduardo Dominguez"" <[EMAIL PROTECTED]> wrote in message 
981385$21k$[EMAIL PROTECTED]">news:981385$21k$[EMAIL PROTECTED]...
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to