<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2>Hi All:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2>I just attached my profiling file and the result with
wincachegrined. You can see the bottle neck is in
file_exists.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2>It takks about 12 seconds.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2>wow ...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2>Mark</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=883251909-08102007><FONT face=新細明體
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><FONT face=新細明體 color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><IMG src="cid:883251909@08102007-0838"></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=zh-tw dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> plog-svn-bounces@devel.lifetype.net
[mailto:plog-svn-bounces@devel.lifetype.net] <B>On Behalf Of </B>Mark
Wu<BR><B>Sent:</B> Monday, October 08, 2007 4:16 PM<BR><B>To:</B> 'LifeType
Developer List'<BR><B>Subject:</B> [pLog-svn] __autoload very slow
...<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=新細明體 size=2><SPAN class=012011108-08102007>Hi
Oscar:</SPAN></FONT></DIV>
<DIV><FONT face=新細明體 size=2><SPAN
class=012011108-08102007></SPAN></FONT> </DIV>
<DIV><FONT face=新細明體 size=2><SPAN class=012011108-08102007>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)</SPAN></FONT></DIV>
<DIV><FONT face=新細明體 size=2><SPAN
class=012011108-08102007></SPAN></FONT> </DIV>
<DIV><FONT face=新細明體 size=2><SPAN class=012011108-08102007>In original
lt_include version, every request can finished within less 1-2
seconds.</SPAN></FONT></DIV>
<DIV><FONT face=新細明體 size=2><SPAN
class=012011108-08102007></SPAN></FONT> </DIV>
<DIV><FONT face=新細明體 size=2><SPAN class=012011108-08102007>But, in new
autoload version, every request takes almost 25-35 seconds to show up the
page ...</SPAN></FONT></DIV>
<DIV><FONT face=新細明體 size=2><SPAN
class=012011108-08102007></SPAN></FONT> </DIV>
<DIV><FONT face=新細明體 size=2><SPAN class=012011108-08102007>I check the cpu
loading, it always in 100%. It seems PHP just try search the include
files recursivelly</SPAN></FONT></DIV>
<DIV><FONT face=新細明體 size=2><SPAN
class=012011108-08102007></SPAN></FONT> </DIV>
<DIV><FONT face=新細明體 size=2><SPAN class=012011108-08102007>It is really
terrible ....</SPAN></FONT></DIV>
<DIV><FONT face=新細明體 size=2><SPAN
class=012011108-08102007></SPAN></FONT> </DIV>
<DIV><FONT face=新細明體 size=2><SPAN class=012011108-08102007>Do I need to do any
special setup in PHP.ini for autoload?</SPAN></FONT></DIV>
<DIV><FONT face=新細明體 size=2><SPAN
class=012011108-08102007></SPAN></FONT> </DIV>
<DIV><FONT face=新細明體 size=2><SPAN
class=012011108-08102007>Mark</SPAN></FONT></DIV>
<DIV><FONT face=新細明體 size=2><SPAN
class=012011108-08102007></SPAN></FONT> </DIV>
<DIV><FONT face=新細明體 size=2><SPAN
class=012011108-08102007></SPAN></FONT> </DIV></BLOCKQUOTE></BODY></HTML>