FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 04-04-2008, 05:41 PM
"Roberto C. Sanchez"
 
Default Bug#474279: ITP: libdevel-profile-perl -- tell me why my perl program runs so slowly

Package: wnpp
Severity: wishlist
Owner: "Roberto C. Sanchez" <roberto@connexer.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

* Package name : libdevel-profile-perl
Version : 1.05
Upstream Author : Jeff Weisberg - http://www.tcp4me.com/
* URL : http://search.cpan.org/dist/Devel-Profile/
* License : Artistic
Programming Lang: 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.


- -- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH9mgy5SXWIKfIlGQRApEbAJwIr/Y2QznRhPbe9HvN+rBX7bBj1gCgyA/h
AKQk/211Byhx1/Dx99g+j9Y=
=rskz
-----END PGP SIGNATURE-----



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-04-2008, 06:29 PM
Niko Tyni
 
Default 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:Prof, bundled with the Perl core?
The fact that the output file is human-readable?

Cheers,
--
Niko Tyni ntyni@debian.org


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 04-04-2008, 06:47 PM
Roberto C. Sánchez
 
Default Bug#474279: ITP: libdevel-profile-perl -- tell me why my perl program runs so slowly

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:Prof, 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
 

Thread Tools




All times are GMT. The time now is 01:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org