On Monday, 23 April 2012 03:24:27 UTC+2, Dan Moseley wrote:
>
> Hi All,
> Could anyone help me to understand exactly what occurs prior to the first 
> line of the app_controller's beforeFilter?
>
> I'm using the following line on the first line of my app_controller:
>
>> round(microtime(true) - $_SERVER['REQUEST_TIME'], 2);
>
>
> This timer averages between 0.2 and 1.2 seconds.
>
> If anyone has any recommendations it would be much appreciated!
>

The short answer is cake's bootstrap and any startup for components.

To get more detail:

1) use debug kit
2) generate an xdebug profile (and of course look at it).

AD

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to