[UPHPU] Why is require() slow?

Richard K Miller richardkmiller at gmail.com
Wed Jan 9 16:39:11 MST 2008


What would make require() slow? I installed APD[1] to profile a slow  
running WordPress blog, and it said the 34 calls to require() are  
taking 10.76 seconds to execute! Something must be wrong with my  
server. This is a stock installation of WordPress on FreeBSD and I  
have only one folder in my include_path.

Richard

[1] http://pecl.php.net/package/apd




More information about the UPHPU mailing list