On 08/29/2013 02:30 AM, Tim Bunce wrote: > On Wed, Aug 28, 2013 at 06:48:38AM +0200, Moritz Lenz wrote: > > Hi Tim, > > > > On 08/25/2013 09:20 PM, Tim Bunce wrote: > > > > > NYTProf needs to instrument the code it's going to profile. So it > > needs to be loaded as > > > early in the process as possible. Try loading via > > > https://metacpan.org/module/Devel::NYTProf#PROFILING with start=no per > > > https://metacpan.org/module/Devel::NYTProf#start I suspect that's the > > problem. > > > > Indeed. Loading it early with start=no and then switching on profiling > > per request worked like a charm. Thanks! > > Great! > > Care to suggest a doc patch that would have saved you from running into this?
Done: https://github.com/timbunce/devel-nytprof/pull/10 Cheers, Moritz -- -- You've received this message because you are subscribed to the Devel::NYTProf Development User group. Group hosted at: http://groups.google.com/group/develnytprof-dev Project hosted at: http://perl-devel-nytprof.googlecode.com CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf To post, email: [email protected] To unsubscribe, email: [email protected] --- You received this message because you are subscribed to the Google Groups "Devel::NYTProf Dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
