Jujhar Singh
Jujhar Singh

Reputation: 3770

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

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

Answers (1)

Chris
Chris

Reputation: 884

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

Upvotes: 1

Related Questions