timbunce / devel-nytprof

Devel::NYTProf is a powerful feature-rich source code profiler for Perl. (Mostly in maintenance mode, so PRs are much more likely to be acted upon than Issues.)
http://blog.timbunce.org/tag/nytprof/
67 stars 51 forks source link

disable_profile should not be included when profiling #111

Open oschwald opened 7 years ago

oschwald commented 7 years ago

Currently, disable_profile shows up in the profile, which isn't too useful. When enabling/disabling profiling repeatedly, e.g., to avoid profiling a particular sub, disable_profile can easily dominate the results.

I suspect a fix for this would be related to https://github.com/timbunce/devel-nytprof/issues/46 and https://github.com/timbunce/devel-nytprof/issues/48.