Bug#474279: ITP: libdevel-profile-perl -- tell me why my perl program runs so slowly
On Fri, Apr 04, 2008 at 01:41:06PM -0400, Roberto C. Sanchez wrote:
> * Package name : libdevel-profile-perl
> Description : tell me why my perl program runs so slowly
>
> The 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) 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.
Hi,
what's the difference to Devel::DProf, bundled with the Perl core?
The fact that the output file is human-readable?
Cheers,
--
Niko Tyni ntyni@debian.org
Reply to: