If you do that time check in the controller afterFilter() it shouldn't be too far from the correct time. You are correct that checking it in a controller action could easily be misleading.
On Oct 26, 4:47 am, "J. Eckert" <[EMAIL PROTECTED]> wrote: > Hi, > > That doesn't make sense. > In your Contoller the page hasn't been yet completly parsed ... so you > won't get a correct page loading/parsing time. > > This: > round(getMicrotime() - $TIME_START, 4) > tells you how many seconds passed after Start, but in your Controller > it wouldn't be equal to the complete parsing time... > > Cheers, > Joachim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
