Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Simplifying dprofpp Output

by eXile (Priest)
on Mar 31, 2004 at 03:09 UTC ( [id://341187]=note: print w/replies, xml ) Need Help??


in reply to Simplifying dprofpp Output

A small reduction in number of lines can be made by using the -t or -S option of dprofpp. From the man-page:
-t Display subroutine call tree to stdout. Subroutine statis +tics are not displayed. When a function is called multiple consecu +tive times at the same calling level then it is displayed once +with a repeat count. -S Display merged subroutine call tree to stdout. Statistics + are displayed for each branch of the tree. When a function is called multiple (not necessarily consec +utive) times in the same branch then all these calls go into one +branch of the next level. A repeat count is output together with + com- bined inclusive, exclusive and kids time. Branches are sorted w.r.t. inclusive time.
you could use this, together with 'grep' to get info on the modules you really want to (not) see. For instance:
dprofpp -S | grep -v 'BEGIN'
or
dprofpp -S | egrep 'Showme|MeToo'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://341187]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-19 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found