pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/p5-Devel-NYTProf
Module Name: pkgsrc
Committed By: sno
Date: Sat Jan 16 16:45:18 UTC 2010
Modified Files:
pkgsrc/devel/p5-Devel-NYTProf: Makefile distinfo
Added Files:
pkgsrc/devel/p5-Devel-NYTProf: options.mk
Log Message:
Updating devel/p5-Devel-NYTProf from 2.10 to 3.01
pkgsrc changes:
- Adjusting dependencies
- Adding optional dependency to graphviz (for generating call graphs)
Upstream changes:
Changes in Devel::NYTProf 3.01 (svn r1005) 28th Dec 2009
Fixed (removed) use of vfscanf() which broke on Windows.
Fixed version number in nytprofmerge.
Added documentation to nytprofcg and nytprofmerge.
Updated NYTProf docs, including noting major contributors.
Updated docs to fix assorted typos, thanks to Jonathan Yu.
Updated nytprofcsv documentation.
Changes in Devel::NYTProf 3.00 (svn r998) 24th Dec 2009
Note: The file format has changed. Old files can't be read.
Fixed (rare) overflow bug for 32bit perls.
Fixed discarding of (rare) negative intervals.
Fixed risk of infinite recursion if trace enabled and
$SIG{__WARN__} was set to a code reference.
Fixed subroutine recursion depth measurement.
Fixed missing embedded eval source code for some older perls.
Fixed assorted compiler warnings for various configurations.
Changed ReadStream SUB_LINE_RANGE tag to SUB_INFO.
Added log=F option to write trace log to a file.
Added warning when reading a file with a minor version higher
than expected.
Added slowops=N option which enables profiling of potentially slow
perl opcodes (e.g., system calls and regexs). They're treated like xsubs.
slowops=0 disables profiling of 'slowops'
slowops=1 puts timings into one package ("CORE::", eg CORE::sleep)
slowops=2 (the defaut) puts timings into into the package that made the
call, e.g., "Foo::CORE:sleep" (note the single colon).
Added sigexit=1 option to enable a useable profile when the process
exits due to a signals (catches INT HUP PIPE BUS SEGV by default)
Can also do sigexit=TRAP,ABRT,SYS,... to hook specific signals.
Thanks to Andrew Sterling Hanenkamp for the seed of this idea.
Added forkdepth=N option to enable profiling to be turned off after N
generations of fork().
Added nameevals=0 and nameanonsubs=0 options to make NYTProf less
visible to code that may assume the default perl naming behaviour.
Note that using these will limit the usefulness of reports.
Added initial support for profiling PostgreSQL PL/Perl code
via Devel::NYTProf::PgPLPerl module.
Added nytprofmerge utility:
Reads multiple nytprof data files and writes a new merged file.
Many thanks to Nicholas Clark!
Changes to subroutine profiler:
Rewritten. Captures more data more accurately and robustly.
Added profiling of calls to xsubs that exit via an exception.
Added profiling of goto ⊂
Added recording the name of the calling subroutine to enable proper
linking of call trees. Previously only the calling file and line
were recorded. (This is more significant than it sounds :)
Added docs describing how the subroutine profiler works.
Multiple BEGIN blocks (including "use") within a package are now
distinguished by appending the number of the line they start on
(for perl 5.8.9+ and 5.10.1+)
Changes to nytprofhtml:
Added interactive treemap view of package and subroutine times.
Left-click to zoom in (drill-down) one level, right-click to zoom out.
Added generation of GraphViz dot language files to visualize
the call graph. A top-level link on the index page provides an
inter-package graph, and per-source-file links provide a graph
of sub calls in to, out of, and between the subs in the file.
See http://en.wikipedia.org/wiki/Graphviz
Added columns to the main source code reports to show
a count of sub calls and time spent in those calls.
Assorted cosmetic improvements.
Changed colors on report pages to be less saturated.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/p5-Devel-NYTProf/Makefile \
pkgsrc/devel/p5-Devel-NYTProf/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Devel-NYTProf/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index