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
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:
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?