Best place to put xdebug_time_index () to measure page execution time when using ZF

I'm trying to find the best place to put xdebug's excellent xdebug_time_index () so that I get the best possible page runtime when using the Zend Framework application framework.

I was thinking about putting it in the control room in my controller (all my controllers inherit from the controller base class), but I tried this and the results don't seem to be correct.

Any ideas?

+2
php xdebug zend-framework


a source to share


1 answer


I would put it in my index.php in the / public file after calling $ application-> run ();



+1


a source to share







All Articles