in reply to Re^2: Benefiting from Devel::Profile or Devel::FastProf
in thread Benefiting from Devel::Profile or Devel::FastProf

AUTOLOAD is an interesting gamble. It allows a faster module load time while slowing the 1st invocation of a number of a module's subroutines/methods. If you use few of those subroutines, the gamble pays off. If you use many.....

In your case, CGI::AUTOLOAD is the from the CGI module. To fix the situation you can either call fewer of the subroutines (probably not realistic) or do as the above response suggests and make those 1st invocations far fewer in percentage by allowing each instance of your perl program to handle more than one request.

To see perltoot you can use perldoc perltoot on the command line, or ask for perltoot on perldoc.perl.org . perl comes with a wealth of documentation.

TJD