Devel::Profile

Devel::Profile is a Perl module to tell me why my perl program runs so slowly.
Download

Devel::Profile Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jeff Weisberg
  • Publisher web site:
  • http://search.cpan.org/~jaw/Chart-Strip-1.05/Strip.pm

Devel::Profile Tags


Devel::Profile Description

Devel::Profile is a Perl module to tell me why my perl program runs so slowly. Devel::Profile is a Perl module to tell me why my perl program runs so slowly.SYNOPSIS perl -d:Profile program.pl less prof.outThe Devel::Profile package is a Perl code profiler. This will collect information on the execution time of a Perl script and of the subs in that script. This information can be used to determine which subroutines are using the most time and which subroutines are being called most often.To profile a Perl script, run the perl interpreter with the -d debugging switch. The profiler uses the debugging hooks. So to profile script test.pl the following command should be used: perl -d:Profile test.pl When the script terminates (or periodicly while running, see ENVIRONMENT) the profiler will dump the profile information to a file called prof.out. This file is human-readable, no additional tool is required to read it.Note: Statistics are kept per sub, not per line. Requirements: · Perl


Devel::Profile Related Software