On Fri, Apr 04, 2008 at 09:29:33PM +0300, Niko Tyni wrote: > 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? > That and that it works with XS modules, which DProf does not.
Incidentally, Joey Hess already packaged this and it is in NEW, so I have closed the ITP. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com
signature.asc
Description: Digital signature