See also: The shell's own times command (where available), and/or the external command time, which is the fore-runner of all of these.
Those won't run a command a number of times or provide a pretty table like Perl's benchmarker will, but if you want to roll your own, those would be the place to start.
(I'm a big fan of Perl, but know that not everyone's ready for it yet!)