| 
	
 | 
 Posted by howa on 01/30/07 14:44 
we will keep an original codes in the SVN,... 
 
the main point is: around 20-30% of file size are from comments &  
white space, we think that when each time include_once is called,  
dummy information need to be read by PHP interpreter, seems waste of  
cpu time... 
 
 
 
> My advise: Don't do it. 
> 
> If your application is slow, find out why. I am quite sure it is NOT the 
> commentlines that makes the application slow. 
> 
> Just do some simple profiling, using microtime() to store the time for each 
> thing that happens in your script. 
> In my experience, 9 out of 10 times the reason for slow webapps is a poorly 
> designed database, or poorly designed query logic. 
> for example: running 40 seperate queries to build 1 page. 
> 
> Regards, 
> Erwin Moller
 
  
Navigation:
[Reply to this message] 
 |