Just an idea: try using the (microtime(true) - $start) approach in portions of code to try isolate the portion that is taking more time. Sometimes that helps me to find "the" function that is slowing everything down.
Jonathan On Thu, Jul 23, 2009 at 6:18 PM, Andrew Ballard<aball...@gmail.com> wrote: > On Thu, Jul 23, 2009 at 5:10 PM, Ben Dunlap<bdun...@agentintellect.com> wrote: >>> significant (around 46%), it says they only account for 193ms. What >>> could account for that much difference between what xdebug calculates >>> versus the total elapsed time? >> >> Are you counting "total elapsed time" from the perspective of the web >> browser? >> If so, YSlow might be helpful: >> >> http://developer.yahoo.com/yslow/ >> >> Ben >> -- >> Twitter: @bdunlap >> > > I'm using YSlow too. > > Here's the last run I did: > YSlow: 4.494 seconds > Elapsed (microtime(true) - $start): 3.990795135498 seconds > xdebug(WinCacheGrind): 402ms (0.402 seconds) > > Andrew > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php