On Monday 05 March 2001 23:20, you wrote:
> 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.
Are you sure it's the include() ? Or is it the parsing time for the 13k
LOC (much more likely)?
> How can I optimize a program like this one ?
Have a look at zend optimizer or apc cache
(apc.communityconnect.(com|org|net))
Another way would be to clean up your code (if you haven't already done
this). Often this can drastically cut down on code size (a cleanup I did
recently roughly halved code size) while improving clarity and
maintainability
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Pretty cool, the kind of power information technology puts in our hands
these days.
- Securityfocus on probing 36000000 hosts for known problems in 3 weeks
--
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]