I have thougth to do this. TimeStart in beforeFilter(). TimeEnd in afterFilter(). I would manage this inside the controller object. But I am not so good in php and OOP.Can you help me to do this? Many Thanks Marco
On 26 Ott, 01:08, Grant Cox <[EMAIL PROTECTED]> wrote: > 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 cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---