Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

profiling perl script in linux

by Anonymous Monk
on Apr 28, 2006 at 05:56 UTC ( [id://546195]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

i am running perl script in Linux ans Solaris. i want to profile my script to find out where i can improve it so that it takes less time for execution. is there any tool available for this? if not how can i do it in these platforms

Replies are listed 'Best First'.
Re: profiling perl script in linux
by Tomte (Priest) on Apr 28, 2006 at 07:27 UTC

    Use Devel::DProf:

    perl -d:DProf yourscript.pl dprofpp

    regards,
    tomte


    An intellectual is someone whose mind watches itself.
    -- Albert Camus

Log In?
Username:
Password:

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

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

    No recent polls found