I'm trying to figure out the best place to put xdebug's excellent xdebug_time_index() function so that I get the best indication of page execution times when using a Zend Framework application structure.
I was thi开发者_如何学Pythonnking of putting it in post dispatch hook in my controller (all my controllers inherit from a base controller class) but I've tried this and the results don't seem correct.
Any ideas?
I would place it in my index.php in the /public file, after calling $application->run();
精彩评论