[pLog-svn] __autoload very slow ...

Mark Wu markplace at gmail.com
Mon Oct 8 05:22:49 EDT 2007


Hi All:
 
I just attached my profiling file and the result with wincachegrined. You
can see the bottle neck is in file_exists.
 
It takks about 12 seconds.
 
wow ...
 
Mark
 
 
 
 



  _____  

From: plog-svn-bounces at devel.lifetype.net
[mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Mark Wu
Sent: Monday, October 08, 2007 4:16 PM
To: 'LifeType Developer List'
Subject: [pLog-svn] __autoload very slow ...


Hi Oscar:
 
I just test the new autoload under windows, the performace is very bad under
windows ( apache 2.2.4, PHP5 5.2.3 & Mysql 5.0)
 
In original lt_include version, every request can finished within less 1-2
seconds.
 
But, in new autoload version, every request takes almost 25-35 seconds to
show up the page ...
 
I check the cpu loading, it always in 100%. It seems PHP just try search the
include files recursivelly
 
It is really terrible ....
 
Do I need to do any special setup in PHP.ini for autoload?
 
Mark
 
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://limedaley.com/pipermail/plog-svn/attachments/20071008/94fb02fe/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 114199 bytes
Desc: not available
Url : http://limedaley.com/pipermail/plog-svn/attachments/20071008/94fb02fe/attachment-0001.jpeg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cachegrind.out.2940156352.zip
Type: application/octet-stream
Size: 84653 bytes
Desc: not available
Url : http://limedaley.com/pipermail/plog-svn/attachments/20071008/94fb02fe/attachment-0001.obj 


More information about the pLog-svn mailing list