[xdebug-general] Re: Profiling a Joomla page -- huge mismatch between xdebug profiling information and actual performance

From: Derick Rethans <derick[@]xdebug.org>
Date: Fri, 17 Apr 2009 20:48:01 +0200 (CEST)

On Fri, 17 Apr 2009, Emiliano Heyns wrote:

> On Thu, Apr 16, 2009 at 11:44, Derick Rethans <derick[@]xdebug.org> wrote:
>
> > On Mon, 30 Mar 2009, Emiliano Heyns wrote:
> >
> > > On Mon, Mar 30, 2009 at 18:02, Emiliano Heyns <Emiliano.Heyns[@]iris-advies.nl> wrote:
> > >
> > > > I'm using wincachegrind, currently, but I have a linux system at
> > > > home I could use for other clients. How so? Would different data
> > > > be reported by different viewers?
> > >
> > > I put a simple "touch" at the top and end of the page, and it
> > > turns out our script really is that slow. Does xdebug only measure
> > > time spent in PHP code, not counting time waiting for the database
> > > to answer? That's the only thing that I can think of.
> >
> > No, it should also profile for internal functions. if you make a
> > function trace, do you get expected results in there? (considering
> > the time at least)
>
> How do I do a function trace? None of the times I see in wincachegrind
> seem to be correct.

See: http://xdebug.org/docs/execution_trace#xdebug_start_trace

regards,
Derick

-- 
Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: derickrethans
Received on Fri Apr 17 2009 - 20:48:07 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST