Re: Time taken by a script

2000-03-27 Thread Joey Hess
Debian Linux User wrote: > Since Perl is an interpreted language No, perl is a compiled language, with a 3 pass compiler. man perlguts\n/compiled code -- see shy jo

Re: Time taken by a script

2000-03-23 Thread Brian Lavender
I have yet to use this module, but I was just reading about it in the Camel book. $ perldoc Benchmark brian On Mon, Apr 17, 2000 at 04:44:17PM +0200, Ron Rademaker 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 scri

Re: Time taken by a script

2000-03-23 Thread Onno
Ron is rights, but you can get an idea when you do prepend the time command like: time script It gives you a few stats. Regards, Onno At 06:19 AM 3/23/00 +, Debian Linux User wrote: >Ron Rademaker wrote: > >> I've written a cgi script in perl an I would like to know how long >> (exactly, 10

Re: Time taken by a script

2000-03-23 Thread Debian Linux User
Ron Rademaker 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 > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null Since Perl is an interpreted language, there

Re: Time taken by a script

2000-03-23 Thread Debian Linux User
Ron Rademaker 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 > > -- > Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null addendum: you can run CGI scripts in offline

Re: Time taken by a script

2000-03-18 Thread Paul J. Keenan
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 t

Re: Time taken by a script

2000-03-17 Thread Chirag
- Original Message - From: Ron Rademaker <[EMAIL PROTECTED]> To: Sent: Monday, April 17, 2000 8:14 PM Subject: Time taken by a script > 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, ho

Re: Time taken by a script

2000-03-17 Thread Robert Davis
Ahoy You ask: > 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? Here's a crude way: #!/usr/bin/perl $now = time(); for( i=0; i<10; i++) { require("thescriptIwanttotime.pl"); } $then = time(

Time taken by a script

2000-03-17 Thread Ron Rademaker
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