Is there a way to exclude packages from being profiled?
24 views
Skip to first unread message
jguluarte
unread,
Feb 7, 2011, 8:44:31 PM2/7/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Devel::NYTProf Dev
Hello,
I've looked through the documentation, and it seems that this package
is based on a few others. One of those is Devel::Profiler, and it has
a "bad_pkgs" that you can include that will cause it to ignore an
$array_ref list of packages from the profile output. I haven't seen
any way to invoke this through the current options, and wanted to see
if somebody else has already implemented in their own code or if it is
planned in a new release - or if it would be better to "hack" it in
myself.
- jguluarte
Tim Bunce
unread,
Apr 15, 2011, 4:59:00 AM4/15/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to develnyt...@googlegroups.com
It's not implemented. Why do you think this feature would be useful?
Tim.
N Heinrichs
unread,
May 17, 2013, 3:06:32 AM5/17/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to develnyt...@googlegroups.com
Quite an old topic, but one use case would be to prevent Catalyst/Moose/Class::MOP/etc. from cluttering flame graphs, "top 15 subs", etc.
I s'pose it's a modification to nytprofhtml as opposed to the actual profiler.
Tim Bunce
unread,
May 17, 2013, 3:17:27 PM5/17/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to N Heinrichs, develnyt...@googlegroups.com
Meanwhile, it's pretty easy to create your own flame graph using "grep -v"
on the calls file to filter out packages you're not interested in.