Re: speeding a site with lots of includes

From: Date: Tue, 06 Mar 2001 13:29:37 +0000
Subject: Re: speeding a site with lots of includes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42747@lists.php.net to get a copy of this message
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

« previous php.general (#42747) next »