Upstream changes:
Changes in Devel::NYTProf 2.09 (svn r733) 29th March 2009
Added support for modules using AutoLoader, e.g., POSIX & Storable,
to fix the "Unable to open '... (autosplit into ...)'" warnings.
Fixed report filename generation to remove colons,
for Windows, reported by Adam Kennedy in rt bug #43798.
Fixed report filename generation to remove dots, for VMS.
Fixed savesrc option which wasn't safe and reliable.
Added missing t/test22-strevala.t to MANIFEST.
Extended testing to exercise compress and savesrc options.
Ported to VMS, thanks to Peter (Stig) Edwards:
Renamed t/\d\d.test.t files to t/\d\d_test.t
t/test*.pm.x files to t/test*.pm_x
t/test*fork.\d.* files to t/test*fork-\d.*
.js and .css file to only have one period/dot
for greater portability. VMS ODS-2 files can only have
one period/dot.
Added t/92-file_port.t as a developer-only and
request-using-ENV test, to help maintain portable files,
currently .indent.pro and .perltidyrc fall foul of portable
filename characters as defined by ANSI C and perlport.
NYTProf.xs's open_output_file use mode 'wb' and not 'wbx'
to avoid unsupported error when on VMS.
Upstream changes:
* Changes in Devel::NYTProf 2.08
** Core:
- Added optimize=0 option to disable the perl optimizer
so you can see more accurate statement execution counts
for some kinds of constructs.
- Added savesrc=1 option to copy source code into the profile
so reports are not affected by changes to the source files.
- Added ability for DB::enable_profile() to specify a new file
for profile data to be written to.
** Reporting:
- Time spent within nested string evals is accounted for.
- Fixed searching @INC for source files for reports.
- Dramatically increased performance of nytprofhtml
relative to the 2.07 version.
- Many tables in html reports are sortable by clicking on header columns
(requires JavaScript, uses jQuery and tablesorter.js)
- Statement timings are now shown as integers in appropriate
units: seconds, milliseconds, microseconds or nanoseconds.
- Hovering over times in subroutine or file summary tables
now shows the percentage time.
- Improved HTML conformance thanks to Leland Johnson.
Packages Collection.
The Perl 5 module Devel::NYTProf is a powerful feature-rich perl
source code profiler.
- Performs per-line statement profiling for fine detail
- Performs per-subroutine statement profiling for overview
- Performs per-block statement profiling (the first profiler to do so)
- Accounts correctly for time spent after calls return
- Performs inclusive and exclusive timing of subroutines
- Subroutine times are per calling location (a powerful feature)
- Can profile compile-time activity, just run-time, or just END time
- Uses novel techniques for efficient profiling
- Sub-microsecond (100ns) resolution on systems with clock_gettime()
- Very fast - the fastest statement and subroutine profilers for perl
- Handles applications that fork, with no performance cost
- Immune from noise caused by profiling overheads and I/O
- Program being profiled can stop/start the profiler
- Generates richly annotated and cross-linked html reports
- Trivial to use with mod_perl - add one line to httpd.conf
- Includes an extensive test suite
- Tested on very large codebases
NyTProf is effectively two profilers in one: a statement profiler,
and a subroutine profiler.