Don't ask to ask, just ask | |
PerlMonks |
Re: Measuring Speedby lhoward (Vicar) |
on Mar 08, 2001 at 19:31 UTC ( [id://62972]=note: print w/replies, xml ) | Need Help?? |
See the Benchmark module for the general solution.
It is part of all standard perl distributions.
If you're interested in testing CGI's against each other you may want to use a program like ab (apache benchmark) to test them so you can see how they perform under higher load: one CGI may be faster running one-at-a-time, but the other may scale better under multiple, concurrent hits.
In Section
Seekers of Perl Wisdom
|
|