in reply to cgi process time

You could use the Time module. How you actually use it, is your choice. Here is a generic example:
use Time::Local; my $StartTime = time(); print "Doing nothing but waisting time....\n"; for ($i = 0; $i < 10000000; $i++) { } $EndTime = time(); print "Waisted: ". ($EndTime - $StartTime) ."s\n";

Replies are listed 'Best First'.
Re^2: cgi process time
by Anonymous Monk on Oct 31, 2005 at 20:07 UTC
    granular time is better for web app benchmarking:
    use Time::HiRes qw(time); my $bench = time; handle_request(); printf 'Code took %.4f seconds', time - $bench;