Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11]) by www.NetBSD.org (Postfix) with ESMTP id E0D1D63C568 for ; Sat, 16 Jan 2010 16:45:20 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 0) id 8A3DF63B179; Sat, 16 Jan 2010 16:45:20 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id EF52F63B167 for ; Sat, 16 Jan 2010 16:45:18 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id DCB96175DD; Sat, 16 Jan 2010 16:45:18 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain Date: Sat, 16 Jan 2010 16:45:18 +0000 From: Jens Rehsack Subject: CVS commit: pkgsrc/devel/p5-Devel-NYTProf To: pkgsrc-changes@NetBSD.org Reply-To: sno@netbsd.org X-Mailer: log_accum Message-Id: <20100116164518.DCB96175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: list 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.