[pLog-svn] __autoload very slow ...
Mark Wu
markplace at gmail.com
Mon Oct 8 05:35:47 EDT 2007
I forgot to say this is the result of admin.php?op=newPost
You can see there are over 7700 function call of file_exists().
If each file_exists call() takes 1 ms. It will takes 15 seconds ..
It is so amazing.
Mark
_____
From: Mark Wu [mailto:markplace at gmail.com]
Sent: Monday, October 08, 2007 5:23 PM
To: 'LifeType Developer List'
Subject: RE: [pLog-svn] __autoload very slow ...
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/0c6409c9/attachment.htm
More information about the pLog-svn
mailing list