Monday, October 31, 2011

Re: DebugKit Toolbar timeline isn't adding up

On Sun, Oct 30, 2011 at 4:59 PM, AD7six <andydawson76@gmail.com> wrote:
>
> It doesn't necessarily have to add up. Timers have a start and an end
> time - and apparently a lot happened inbetween your controller action
> and the render process.

Thanks Andy - it's a good point.

> > Any ideas where this may be coming from?  This is v1.2.7.
>
> Well that's an old version of cake.

Granted.

> Maybe by investigating the old fashioned way - from the numbers you've
> posted you can start by investigating if it comes from: some code that
> gets executed inbetween your controller and view rendering.

I'm not overly familiar with Cake's core architecture, so what code
would this be? i.e. something in component / helper / behavior? I
was wrongly under the impression that the rendering would start as
soon as the controller action had finished...

> If debug kit is not the first component in your components array
> (that's a bad idea), that would explain both the holes and the numbers
> - I'd fix that first if I were you.

It wasn't the first component but it is now!

Thanks for any help you can give Andy.

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: