Alex the Serb has asked for the wisdom of the Perl Monks concerning the following question:
hi,
is there any good Perl module or program that can show me how much of the time is spent in certain functions and classes? For now I'm using time command on Linux, but it can only show how much time was spent during execution of the whole script. And I've found out that when you've done with your script, you can ommit the line: use strict; from you code, because then the script will work 2-3 seconds faster if it have more than 100 lines. So, I'm wondering, now, if there is some tool or something that can help me to speed up and optimize things. Is there any tool or module that can make reports of how much time is spent in vital regions of the script file?
Thanks in advance!
is there any good Perl module or program that can show me how much of the time is spent in certain functions and classes? For now I'm using time command on Linux, but it can only show how much time was spent during execution of the whole script. And I've found out that when you've done with your script, you can ommit the line: use strict; from you code, because then the script will work 2-3 seconds faster if it have more than 100 lines. So, I'm wondering, now, if there is some tool or something that can help me to speed up and optimize things. Is there any tool or module that can make reports of how much time is spent in vital regions of the script file?
Thanks in advance!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: performance tool
by danger (Priest) on Dec 27, 2001 at 13:54 UTC | |
Re: performance tool
by grep (Monsignor) on Dec 27, 2001 at 13:38 UTC | |
Re: performance tool
by blahblahblah (Priest) on Dec 27, 2001 at 20:07 UTC |
Back to
Seekers of Perl Wisdom