in reply to Re^3: Clocking Portion of Your Perl Codein thread Clocking Portion of Your Perl Code
Sometimes, timing the full program (or a script specially written for the ocasion) from the shell with time is also a good solution.