[Phpwm] best place to put xdebug_time_index() to measure page executing time when using ZF

Ian Munday ian.munday at illumen.co.uk
Fri May 14 17:25:06 UTC 2010


On 14 May 2010, at 13:47, keith Pope wrote:

> You want to create a post dispatch front controller plugin, this is
> the last event to be called, the controller post dispatch may not be
> the last due to the dispatch loop. I also find the firephp (wildfire)
> profiler very useful.
> 
> On 14 May 2010 11:54, Jujhar Singh <jujhar at medilinkwm.co.uk> wrote:
>> I'm trying to figure out the best place to put xdebug's excellent
>> xdebug_time_index()] (http://xdebug.org/docs/basic) function so that I get
>> the best indication of page execution times when using a Zend Framework
>> application structure.
>> 
>> I was thinking of putting it in post dispatch hook in my base controller
>> (all my controllers inherit from a base controller class) but I've tried
>> this and the results don't seem correct.
>> 
>> Any ideas?
>> 
>> Jujhar


I stumbled across ZFDebug the other day which I thinks pretty good.

http://code.google.com/p/zfdebug/

Regards,

Ian




More information about the Phpwm mailing list