Re: Benchmarking

2002-07-16 Thread zentara

On Mon, 15 Jul 2002 08:30:45 -0500, [EMAIL PROTECTED] (Camilo
Gonzalez) wrote:

Good Kind Perl Gurus,
 
I see mention of benchmarking CGI scripts to see how quickly they run.
What's the best way to do this? I'm in a hosted Unix IRIX environment so may
not have access to the shell and other areas. 

I'll hazard a guess. You just just wrap your cgi script in some
benchmarking code, and print the benchmark results to a file.
Then average out the times. 
Of course, you know that there are alot more 
things involved in cgi programs, like the connection speed, etc.
These things all vary from one instance of the cgi script to the
next; but if you average a large number of benchmark times,
over a week or two, you could get a good guestimate.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Benchmarking

2002-07-15 Thread Camilo Gonzalez

Good Kind Perl Gurus,
 
I see mention of benchmarking CGI scripts to see how quickly they run.
What's the best way to do this? I'm in a hosted Unix IRIX environment so may
not have access to the shell and other areas. 

#!/usr/local/bin/perl
print ' EOF'
 Camilo Gonzalez
 Web Developer
 Taylor Johnson Associates
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  www.taylorjohnson.com http://www.taylorjohnson.com/ 
 

 EOF