CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
how fast is my script ??

 



jack.chicrac
Deleted

Dec 5, 2000, 5:57 AM

Post #1 of 2 (716 views)
how fast is my script ?? Can't Post

hi,

I want to mesure the speed of my script. I set a value (zero) at the start of script and take the value at the end. The problem, is that i want a value like 0.062 sec

I've found a module FASTCGI, but if it's possible i want a standard module for PERL cause all server haven't this module....

thank's for response

------------------
best regards
Jack


japhy
Enthusiast / Moderator

Dec 6, 2000, 8:49 AM

Post #2 of 2 (716 views)
Re: how fast is my script ?? [In reply to] Can't Post

The FastCGI module is not about timing your program, it's about something entirely different. You want to get the Time::HiRes module from CPAN. It's NOT standard, though.

You can try the Benchmark module. That IS standard.

------------------
Jeff "japhy" Pinyan -- accomplished author, consultant, hacker, and teacher


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives