Reputation: 3770
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 thinking 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?
Upvotes: 2
Views: 771
Reputation: 884
I would place it in my index.php in the /public file, after calling $application->run();
Upvotes: 1