On Fri, 7 Nov 2008, Perrin Harkins wrote:

> Does anyone have a recipe they can share for NYTProf with Mason under
> mod_perl?  I'm getting there, but if someone has already sorted it out
> that would be great.  I'm currently getting nearly all of the time in
> one big anonymous chunk, and seeing things like Parse::RecDescent that
> I though would only happen during startup.

Try settubg the named_component_subs option for the compiler to a true 
value. Then Mason compiled each component into a sub that is a mangled 
version of its path. I suspect this may help with NYTProf.

BTW, Mason doesn't use Parse::RecDescent, but maybe your app does.


-dave

/*============================================================
http://VegGuide.org               http://blog.urth.org
Your guide to all that's veg      House Absolute(ly Pointless)
============================================================*/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to