Response time under mod_perl

2000-12-07 Thread Edmar Edilton da Silva

Hi all,

I need to know the response time of a Perl script running under
mod_perl. To do this I need a function that it's returns the current time
of the system in milliseconds. Please, have anyone any idea what function I can use?
Thanks for any help...

Edmar, 


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




Re: Response time under mod_perl

2000-12-07 Thread Michael Fuhr

On Fri, Dec 08, 2000 at 02:57:33AM -0200, Edmar Edilton da Silva wrote:

   I need to know the response time of a Perl script running under
 mod_perl. To do this I need a function that it's returns the current time
 of the system in milliseconds. Please, have anyone any idea what function I can use?

Try the Time::HiRes module on CPAN.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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




Re: Response time under mod_perl

2000-12-07 Thread Adi Fairbank

Michael Fuhr wrote:
 
 On Fri, Dec 08, 2000 at 02:57:33AM -0200, Edmar Edilton da Silva wrote:
 
I need to know the response time of a Perl script running under
  mod_perl. To do this I need a function that it's returns the current time
  of the system in milliseconds. Please, have anyone any idea what function I can 
use?
 
 Try the Time::HiRes module on CPAN.
 

Or HTTPD::Bench::ApacheBench if you want to see response time from the
perspective of the client.

-Adi

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