Re: [fw-general] Easy way to page generation times

2010-02-19 Thread Brad Griffith
If you're looking to detect slow database queries so that you know where to target further profiling efforts, you should probably start by looking Zend_Db_Profiler. It will allow you to time each query and optionally filter the results so you only display those that pass a specified time

Re: [fw-general] Easy way to page generation times

2010-02-19 Thread Nicolas Grevet
[...] but a simple timer could be build as a Zend_Controller_Plugin where in the routeStartup() you set a parameter to the value of microtime and then at the end of your layout, subtract the value from routeStartup() from the current value of microtime(). Yeah, except that the routeStartup() is

Re: [fw-general] Easy way to page generation times

2010-02-19 Thread Nicolas Grevet
By the way, some Apache configurations already include the REQUEST_MICROTIME parameter Errr... I mean, REQUEST_TIME. Regards, - Nicolas Nicolas Grevet wrote: [...] but a simple timer could be build as a Zend_Controller_Plugin where in the routeStartup() you set a parameter to the value of

[fw-general] Easy way to page generation times

2010-02-16 Thread Ross Little
Hi Guys I'm developing a web app using the Zend Framework and want to be able to measure my page load times so that I can tweak my database queries and caching to maximum effect. Essentially, all I'm looking for is a string at the bottom of every page saying: page generated in Cheers guys