CARVIEW |
Select Language
HTTP/2 200
cache-control: max-age=43200
server: Combust/Plack (Perl)
vary: Accept-Encoding
content-encoding: gzip
content-length: 1985
content-type: text/html; charset=utf-8
last-modified: Sat, 11 Oct 2025 12:04:10 GMT
traceparent: 19368687963f3264cd90e2b76dc71bd6
strict-transport-security: max-age=15768000
Devel::NYTProf and Devel::Cover overlap and cross-polination - nntp.perl.org
Front page | perl.perl5.porters |
Postings from July 2008
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About

Devel::NYTProf and Devel::Cover overlap and cross-polination
Thread NextFrom:
Tim BunceDate:
July 21, 2008 13:13Subject:
Devel::NYTProf and Devel::Cover overlap and cross-polinationMessage ID:
20080721201330.GB88239@timac.localOn Thu, Jul 17, 2008 at 11:49:06AM +0200, Paul Johnson wrote: > On Wed, Jul 16, 2008 at 03:00:06PM -0700, Tim Bunce wrote: > > On Thu, May 03, 2007 at 12:56:44AM +0100, Tim Bunce wrote: > > > I'm not very familar with this part of perl guts... > > > > > > How can I find the line number of the start of the current block/scope? > > > Or, more likely, the line number of the first statement in the block/scope? > > > > I got there in the end: > > > > https://blog.timbunce.org/2008/07/15/nytprof-v2-a-major-advance-in-perl-profilers/ > > Hi Tim, > > I've not had the chance to try the module, but based on what you have > written, do you think there might be any chance of somehow merging the > backends of Nytprof and Devel::Cover? I don't see much benefit at first sight. Profiling and coverage analysis use similar technology (and may benefit from cross-pollination of implementation ideas) but they're very different user activities. Please excuse the tersness of my responses below. They simply reflect an "I don't get it" point of view. > (The corporate firewall took > exception to your blog, so I've only seen it via links.) Any idea why? (Perhaps reply offline. I could email a copy if you'd like.) > As you know, Devel::Cover has something of a statement level profiler > included, and Nytprof output is based on that of Devel::Cover. The visual style is similar but the coode looks quite different. > It would be great to be able to replace Devel::Cover's basic statement > level profiler with Nytprof and combine the output. Why? > This would also > give Nytprof access to the other reports in Devel::Cover. Such as? > This could either be done at the level of the Devel::Cover database, > or using the annotation facility available to Devel::Cover reports. > > Does this seem worth pursuing? Not at first sight, but perhaps I'm just being dense and missing something. Feel free to persuade me! Tim.Thread Next
- Devel::NYTProf and Devel::Cover overlap and cross-polination by Tim Bunce
nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About