in reply to Re: Timing Your Program
in thread Timing Your Program

Note that it is part of the perl core (as of perl5.003_07).

It does just what you want, ie. allows you to compare the execution times of different approaches.