Another method is if you are running a Linux environment and the CGI is executable from the command line, you can see the raw time (with no code changes) using the
time bash command:
#~> time ./some_script.(pl|cgi)
Outputs:
real 0m0.000s
user 0m0.000s
sys 0m0.000s
Always a very simple and quick method of timing different utilities and things like that.
---hA||ta----
print map{$_.' '}grep{/\w+/}@{[reverse(qw{Perl Code})]} or die while ( 'trying' );