[Catalyst] debug mode

Matt S Trout dbix-class at trout.me.uk
Tue Jun 5 09:20:19 GMT 2007


On Mon, Jun 04, 2007 at 08:04:01PM -0700, mreece at vinq.com wrote:
> 
> 
> > On Mon, Jun 04, 2007 at 12:55:38PM -0700, Dylan Vanderhoof wrote:
> >> Oh, missed this email.  Yours looks better than mine.  =)
> >
> > Except for being a performance hit on every single method call on $c
> > (there's
> > a reason I keep telling people not to make everything a plugin ...).
> 
> does *{"$class\::debug"} = sub { 1 }; somehow avoid this performance hit? 
> or are you talking about the extra call to $c->config?

NEXT is retarded so every plugin slows dispatch on $c

Thankfully, the new plugin system we have planned for 5.80 won't suffer
from this.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 



More information about the Catalyst mailing list