andygrant Posted February 24, 2009 Share Posted February 24, 2009 Hi I have created a PHP site but have noticed the pages seem to be running a bit slow. I heard a way to find bottlenecks is to Profile your code, however I am using a shared server and don't have access to the php.ini file so I think this stops me from using Xdebug that many sites recommend. Therefore I was wondering if anyone knew good ways to Profile code that doesn't require access to php.ini. Thanks Link to comment https://forums.phpfreaks.com/topic/146765-php-performance-profiling/ Share on other sites More sharing options...
genericnumber1 Posted February 24, 2009 Share Posted February 24, 2009 You could benchmark through a combination microtime and some good-ol'-fashioned subtraction. Link to comment https://forums.phpfreaks.com/topic/146765-php-performance-profiling/#findComment-770559 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.