Re: Time taken by a script
On Fri, Mar 17, 2000 at 11:30:21PM +0530, Chirag wrote:
>
> > I've written a cgi script in perl an I would like to know how long
> > (exactly, 10th of second) it takes to execute the script, how can I do
> > this?
> >
> > Ron
> >
> I guess time can do it But not sure. Pls consult the manpage of time
>
> Previ
>
man Benchmark
It's one of the core modules in the perl distribution.
It's designed to do exactly what you want, shows user and sys times.
There's a plethora of options to do any conceivable test you want.
--
Regards,
Paul
Reply to: