summaryrefslogtreecommitdiff
path: root/devel/p5-Devel-NYTProf
AgeCommit message (Collapse)AuthorFilesLines
2016-11-28Update to 6.04wen2-8/+7
Upstream changes: Changes in Devel::NYTProf 6.04 - 24th November 2016 Fixed build on perl 5.25+ due to OpSIBLING, thanks to Dan Collins #102 Fixed nytprofmerge on Windows thanks to andrey-starodubtsev #99 Fixed nytprofhtml invalid UTF-8 char and improved CSS #105 Fixed spelling mistake in nytprofcsv docs. Closes #95 Table headers now stay visible, thanks to Sebastian Rose #106 Assorted improvments to .travis.yml
2016-06-08Bump PKGREVISION for perl-5.24.wiz1-1/+2
2016-04-10Update to devel/p5-Devel-NYTProf-6.0.3mef2-7/+7
-------------------------------------- Changes in Devel::NYTProf 6.03 - 25th March 2016 Fix to account for the deep stack optimizations in perl 5.23.8 by Dave Mitchell, with my great gratitude! Fix SIGUSR2 on MSWin32 and div by zero #78 PR#79 with thanks to Nicolas Georges. Fix for perl 5.8.8 but adding definition for tTHX. Unify 'Profile format error' messages. Improve the TROUBLESHOOTING docs. Added some more docs for the start=init option #85 Corrected URL of KCachegrind home page #87 with thanks to Denis Ibaev. Corrected URL of sample report #80 Removed dead code.nytimes.com URL and redundant history #84
2015-11-03Add SHA512 digests for distfiles for devel categoryagc1-1/+2
Issues found with existing distfiles: distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip distfiles/fortran-utils-1.1.tar.gz distfiles/ivykis-0.39.tar.gz distfiles/enum-1.11.tar.gz distfiles/pvs-3.2-libraries.tgz distfiles/pvs-3.2-linux.tgz distfiles/pvs-3.2-solaris.tgz distfiles/pvs-3.2-system.tgz No changes made to these distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-08-15(pkgsrc)mef2-8/+9
- Adjust DEPENDS and BUILD_DEPENDS, the latter is for make test -DEPENDS+= p5-JSON-Any-[0-9]*:../../converters/p5-JSON-Any DEPENDS+= p5-JSON-XS-[0-9]*:../../converters/p5-JSON-XS +DEPENDS+= p5-JSON-MaybeXS-[0-9]*:../../converters/p5-JSON-MaybeXS +BUILD_DEPENDS+= p5-Test-Differences-[0-9]*:../../devel/p5-Test-Differences +BUILD_DEPENDS+= p5-Text-Diff-[0-9]*:../../textproc/p5-Text-Diff (upstream) - Update to 6.02 Changes in Devel::NYTProf 6.02 - 2nd August 2015 FlameGraphs upgraded the latest version, which supports searching. Use JSON::MaybeXS instead of JSON::Any (deprecated), thanks to Ether #73 Updated metacpan urls, thanks to Ether #74 Internal context optimizations, thanks to jandubois #75
2015-07-12Comment out dependencies of the stylewiz1-2/+2
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS since pkgsrc enforces the newest perl version anyway, so they should always pick perl, but sometimes (pkg_add) don't due to the design of the {,} syntax. No effective change for the above reason. Ok joerg
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-1/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-04-09Update to 6.01mef2-6/+6
-------------- Changes in Devel::NYTProf 6.01 - 4th April 2015 Changed the clock used on Windows to high resolution QueryPerformanceCounter which makes NYTProf useful on windows, at last, thanks to bulk88, #68 Fallback to checking PATH for nytprof scripts, #61 thanks to calid Fix unused variable warnings thanks to zefram, RT#103107 Fix handling of PERL_DISABLE_PMC, thanks to bulk88, #67 Use larger buffer size when writing the data file, thanks to bulk88 #69 Clarified the docs re DB:: functions, #63 thanks to dbooth-boston Documentation cleanup thanks to wollmers, #64 Clarify reason for loading Devel::NYTProf as early as possible. Clarification of the RUN-TIME CONTROL OF PROFILING docs
2015-03-01Update to 5.07mef2-7/+6
-------------- Changes in Devel::NYTProf 5.07 Fixed use of nytprofcalls and flamegraph scripts to not require PATH #21 Fixed nytprofhtml --open for KDE4 thanks to HMBRAND RT#99080 Fixed for installs into directory path with spaces, mohawk2 #40 Fixed printf NV conversion compiler warnings thanks to zefram RT#91986 Disabled optimize in t/test25-strevalb.t if -DDEBUGGING and perl >= 5.20 as workaround for perl RT#70211, #38 Added 'addtimestamp' option to add a timestamp to the output filename (similar to addpid option), PR#17 thanks to Naosuke Yokoe (zentooo) Added nytprofpf script to generate reports in the plat_forms format http://www.plat-forms.org PR#11 thanks to Holger Schmeisky. Added ability to increase the maximum length of a subroutine name #44 Optimized output performance on threaded perl, thanks to bulk88. PR#27 Add docs re FCGI::Engine and open('-|') #20 Corrected typo in nytprofhtml thanks to wollmers #41 Fixed link to screencast, thanks to Herwin. #19 Added hint to use --no-flame for big reports. #28
2014-07-28Update to 5.06wen2-7/+6
Upstream changes please visit: http://search.cpan.org/~timb/Devel-NYTProf-5.06/Changes
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2013-05-31Bump all packages for perl-5.18, thatwiz1-1/+2
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
2012-10-31Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-19Updating package for CPAN module Devel::NYTProf from 4.06nb1 to 4.09.sno2-7/+6
Upstream changes: Changes in Devel::NYTProf 4.09 (svn 1431) 15th Sep 2012 Fixed to work for perl v5.17.3+ thanks to David Mitchell. Changes in Devel::NYTProf 4.08 (svn 1427) 11th Aug 2012 Fixed version numbers in nytprofhtml and nytprofmerge. Changes in Devel::NYTProf 4.07 (svn 1419) 10th Aug 2012 Fixed html generation to be valid, RT#70207 (H.Merijn Brand). nytprofmerge no longer dies on some errors, RT#75918. nytprofmerge now sums cumulative_overhead_ticks, RT#75909. nytprofmerge now gets in man page installed, RT#75911. Enable file=/dev/null to work as fix for RT#74565. Updated ::Apache docs including troubleshooting, RT#75912. Note Devel::NYTProf::Data is undocumented and why, RT#75914. Use Browser::Open if installed for nytprofhtml --open. Added and clarified some notes in the troubleshooting docs. Added warning for Apache2::SizeLimit in ::Apache, RT#75912. Clarified docs re fork generating multiple files, RT#78873.
2012-10-03Bump all packages that use perl, or depend on a p5-* package, orwiz1-1/+2
are called p5-*. I hope that's all of them.
2011-08-12Changes 4.06:adam2-14/+11
* Fixed risk of nytprofhtml failure due to over-long filenames RT-62319 * Improved handling of Class::MOP/Moose generated methods. * Improved handling of embedded filenames, e.g., "(eval N)[$path]" * Updated and clarified usecputime=1 docs. * Updated tests for (expected) new functionality in Sub::Name. * Updated tests for changes in perl 5.13.x. * Added special handling for the perl built-in accept() Effectively the clock stops ticking while in accept(). This makes profiles of pure-perl web servers more useful. * Added --no-mergeevals option to nytprofhtml. * Added "If Statement and Subroutine Timings Don't Match" and "If Headline Subroutine Timings Don't Match the Called Subs" sections to the DATA COLLECTION AND INTERPRETATION docs. * Added note to the docs re profiling applications that use Coro.
2010-09-21Updating devel/p5-Devel-NYTProf from 4.04nb1 to 4.05sno2-7/+7
Upstream changes: Changes in Devel::NYTProf 4.05 (svn 1359) 15th Sept 2010 Fixed tests to work with a new optimization in perl 5.13.4. Fixed handling of negative values for subroutine line ranges (that may be added to %DB::sub by buggy software). Fixed handling of negative times from unstable clocks that caused spikes in statement times. Fixed risk of bad line numbers hanging report generation.
2010-08-21Bump the PKGREVISION for all packages which depend directly on perl,seb1-1/+2
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
2010-07-12Update from version 4.00 to version 4.04.seb2-6/+6
Upstream changes: Changes in Devel::NYTProf 4.04 (svn 1332) 9th July 2010 Profile now reports presence of the slow regex match vars ($& $' $`). The (cumulative inclusive) recursion time measured for subs that are involved in recursion is now reported as 'recursion: ... sum of overlapping time'. Trace log messages are now flushed immediately. Reduced risk of crashes in embedded applications that don't handle PL_endav carefully, like current versions of mod_perl. Changes in Devel::NYTProf 4.03 (svn 1316) 19th June 2010 Fixed another nytprofhtml performance problem for profiles with many files/evals. Much faster merging of evals now. For subs that recurse, show max depth and time in subroutine table. Changes in Devel::NYTProf 4.02 (svn 1309) 17th June 2010 Fixed nytprofhtml performance problem for profiles with many files/evals. Added progress reporting to nytprofhtml. Changes in Devel::NYTProf 4.01 (svn 1296) 10th June 2010 Fixed links from block/sub level report pages to string eval report pages. RT#58284 Restored ordering of line - block - sub links on index page. Clarified that saving the source code of string evals requires perl version 5.8.9+, 5.10.1+, 5.12 or later. RT#58283
2010-06-12Update from version 3.11 to version 4.00.seb2-6/+6
Upstream changes: Changes in Devel::NYTProf 4.00 (svn 1291) 8th June 2010 - Major changes: Added profile reporting of code executed in string evals. Each string eval executed gets it's own report page. You can 'see' the code that was executed, with profile info. String evals may be collapsed/merged in some cases. Improved many sub-optimal behaviours related to string evals. Subroutine calls that couldn't be associated with a specific line, such as calls made by perl to END blocks, are now shown in reports. Subroutine definitions that couldn't be associated with a specific file, such as xsubs in packages with no perl source, are now shown in reports. Enabled savesrc=1 by default. The data file format has changed so v3.x files can't be read. The Devel::NYTProf::ReadStream interface has also changed. - Other changes: Fixed off-by-1 error in number of Files an xsub/opcode was called from. Fixed Devel::NYTProf::Apache to work in more situations and enable the addpid option by default. Fixed that END blocks defined at runtime are included in the profile thanks to Nicholas Clark. Compilation-only checks (perl -c) can be profiled thanks to Nicholas Clark. Improved behaviour for 'duplicate' anon-subs defined in separate invocations of a particular string eval. Multiple BEGINs (e.g., use) on the same line get distinct names. Added --minimal option to nytprofhtml to disable generation of graphviz .dot files and block/sub-level statement report files. Added automatic detection of calls to POSIX::_exit() by the sub profiler so finish_profile() gets called and a usable profile is produced. Added posix_exit=1 option to do the same thing (in a different way) when the sub profiler is not being used (i.e., subs=0). - Documentation Changes: Sequences of blank lines are skipped in generated reports. Relevant for savesrc mode in which perl doesn't store pod sections. Corrected typos in nytprofhtml docs thanks to chocolate@cpan.org. Documented how to use Devel::NYTProf::Apache with virtual hosts that use the PerlOptions +Parent or +Clone configuration.
2010-04-23Update from version 3.02 to version 3.11.seb2-7/+7
Pkgsrc changes: - Change HOMEPAGE Upstream changes: Changes in Devel::NYTProf 3.11 (svn 1171) 12th March 2010 Fixed assorted issues on Windows thanks to Jan Dubois. Fixed assorted issues 64bit systems thanks to Jan Dubois. Refactored I/O to create an API that encapsulates the data file format, thanks to Nicholas Clark. Updated and optimized nytprofmerge to use the new API yielding a significant speed boost, thanks to Nicholas Clark.
2010-03-08Updating devel/p5-Devel-NYTProf from 3.01 to 3.02sno2-7/+10
pkgsrc changes: - Adjust dependencies Upstream changes: Changes in Devel::NYTProf 3.01_96 (svn 1087) 27th Feb 2010 Fixed handling of usecputime=1 option and updated docs to note the significant limitations. Fixed association of XS subs to source files in some edge cases thanks to Nicholas Clark. Fixed nytprofmerge edge cases thanks to Nicholas Clark. Added high-resolution (100ns) timer for Mac OS X many thanks to Markus Peter. Added assorted optimizations thanks to Nicholas Clark. Changed subroutine profiler to be slightly more efficient. Changed some tests to be more informative on failure. Changed nytprofhtml to be smarter when source isn't available. Changed nytprofhtml to show sort arrow on sortable tables. Removed Devel::NYTProf::PgPLPerl module. That's now a separate PostgreSQL::PLPerl::NYTProf distribution. Updated docs to include a note about timing on Windows. Updated docs to include a section about making NYTProf faster.
2010-01-16Updating devel/p5-Devel-NYTProf from 2.10 to 3.01sno3-6/+24
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.
2009-07-18pkgsrc changes:sno2-6/+7
- Updating package for p5 module Devel::NYTProf from 2.09 to 2.10 - Adding perl5 license as license Upstream changes: Changes in Devel::NYTProf 2.10 (svn r774) 18th June 2009 Fixed call count for XSubs that was one too high. Fixed enable_profile() after fork thanks to delamonpansie http://code.google.com/p/perl-devel-nytprof/issues/detail?id=15 Fixed to use correct scripts during test and so avoid permissions issues, thanks to David Golden. Fixed suprious "Unable to determine line number" warnings when using options like -p, -n, -Mfoo. Changed enable_profile() to discard the time spent since profile was disabled. Changed NYTPROF env var parsing to allow backslash to escape colons, for Windows, thanks to Joshua ben Jore. Added license, homepage, bugtracker, repository and MailingList resources to META.yml thanks to Michael G Schwern. Added nytprofcg utility to generate callgrind data for viewing via Kcachegrind, thanks to Chia-liang Kao.
2009-04-22Update from version 2.08 to version 2.09.seb2-6/+6
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.
2009-02-15Update from version 2.07 to version 2.08.seb2-6/+6
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.
2008-11-11Initial import of p5-Devel-NYTProf version 2.07 in the NetBSDseb3-0/+45
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.