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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

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



Dec 5, 2000, 5:57 AM

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


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

Enthusiast / Moderator

Dec 6, 2000, 8:49 AM

Post #2 of 2 (1371 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