Re: Question on code profiling
| From: | Andrew Ballard | Date: | Fri, 24 Jul 2009 03:31:05 +0000 |
| Subject: | Re: Question on code profiling | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-295792@lists.php.net to get a copy of this message | ||
On Thu, Jul 23, 2009 at 5:32 PM, Ben Dunlap<bdunlap@agentintellect.com> wrote:
> I second Jonathan's suggestion; I would try calling microtime() before and
> after your database query, and before and after anything else that isn't
> strictly "execution of the script".
>
> Ben
I tried this where I could. (The ZF library itself is on a local
machine drive where I don't have access to edit the files, so I can
only edit files within the project itself. That means I can't inspect
too deeply.) I'm starting to think perhaps there is a bug in either
xdebug or WinCacheGrind. From what I can tell, the numbers I see in
WinCacheGrind look like they are off by about a factor of 10 pretty
uniformly.
Andrew