42af114850
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.
12 lines
293 B
Makefile
12 lines
293 B
Makefile
# $NetBSD: options.mk,v 1.1 2010/01/16 16:45:18 sno Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Devel-NYTProf
|
|
|
|
PKG_SUPPORTED_OPTIONS= graphviz
|
|
PKG_SUGGESTED_OPTIONS= # empty
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mgraphviz)
|
|
DEPENDS+= graphviz>=2:../../graphics/graphviz
|
|
.endif
|