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