Profiling

Marc Lehmann schmorp at schmorp.de
Thu Jan 5 03:40:14 CET 2012


On Wed, Jan 04, 2012 at 09:12:20PM +0000, Dirk Koopman <djk at tobit.co.uk> wrote:
> Any suggestions for profiling large perl programs that use AnyEvent?

No idea - maybe you should talk to the authors of your profiler modules to
see if they still maintain them and are willing to fix them?

AnyEvent itself is written in pure perl, so a profiler should be able to
run it without any fuss.

The statement causing this is apparently:

   goto &{ UNIVERSAL::can AnyEvent => "SUPER::$name" }

which might indicate that the profilers can't cope with goto, which would
be a serious bug, as goto is extremely commonly used for autoloading.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list