Author: tim.bunce
Date: Fri Oct 31 06:54:02 2008
New Revision: 580
Modified:
trunk/Changes
trunk/HACKING
trunk/lib/Devel/NYTProf.pm
trunk/lib/Devel/NYTProf/Core.pm
trunk/lib/Devel/NYTProf/Data.pm
trunk/lib/Devel/NYTProf/Reader.pm
trunk/lib/Devel/NYTProf/Util.pm
Log:
Document stmts=0 option.
Start preparing for 2.06 release.
Modified: trunk/Changes
==============================================================================
--- trunk/Changes (original)
+++ trunk/Changes Fri Oct 31 06:54:02 2008
@@ -11,16 +11,20 @@
NOTE: The file format has changed. Files from 2.04 and 2.05
can still be read by this version.
+ Subroutine inclusive time no longer counts time
+ spent recursed into the same subroutine. That time is
+ now recorded separately, along with the max recursion depth.
+
+ Added stmts=0 option to disable the statement profiler
+ so just the subroutine profiler runs. That reduces the
+ profiler overhead and gives you much smaller data files.
+
Now builds on Windows, with thanks to Jan Dubois!
Removed use of vfscanf() to improve portability to Windows
and old unix systems, thanks to Jan Dubois.
The profiler takes more care to avoid changing $!.
-
- Subroutine inclusive time no longer counts time
- spent recursed into the same subroutine. That time is
- now recorded separately, along with the max recursion depth.
Reports:
Modified: trunk/HACKING
==============================================================================
--- trunk/HACKING (original)
+++ trunk/HACKING Fri Oct 31 06:54:02 2008
@@ -248,11 +248,6 @@
Unable to determine line number in -e.
Unable to determine line number in -e.
-Add option to disable statement based profiling, so you're left with
subroutine
-inclusive timing. That's *really* fast and would be handy for a quick
check on
-performance of a large application. It's also generates no i/o till the end
-so may be useful for long running apps that would otherwise generate a
huge data file.
-
Add a 'permalink' icon (eg infinity symbol) to the right of lines defining
subs
to make it easer to email/IM links to particular places in the code.
@@ -324,3 +319,5 @@
Add per-package summary table like the per-sub stats to make it easier to
see
a package where a lot of time is being spent in lots of different subs.
+
+Add option to set processor affinity.
Modified: trunk/lib/Devel/NYTProf.pm
==============================================================================
--- trunk/lib/Devel/NYTProf.pm (original)
+++ trunk/lib/Devel/NYTProf.pm Fri Oct 31 06:54:02 2008
@@ -11,7 +11,7 @@
###########################################################
package Devel::NYTProf;
-our $VERSION = '2.05';
+our $VERSION = '2.06';
package # hide the package from the PAUSE indexer
DB;
@@ -294,6 +294,15 @@
output files, but you loose some valuable information. The extra cost is
likely
to be reduced in later versions anyway, as little optimization has been
done on
that part of the code.
+
+=head2 stmts=0
+
+Set to 0 to disable the statement profiler. (Implies C<blocks=0>.)
+The reports won't contain any statement timing detail.
+
+This significantly reduces the overhead of the profiler and can also be
useful
+for profiling large applications that would normally generate a very large
+profile data file.
=head2 leave=0
Modified: trunk/lib/Devel/NYTProf/Core.pm
==============================================================================
--- trunk/lib/Devel/NYTProf/Core.pm (original)
+++ trunk/lib/Devel/NYTProf/Core.pm Fri Oct 31 06:54:02 2008
@@ -14,7 +14,7 @@
use XSLoader;
-our $VERSION = '2.05'; # increment with XS changes too
+our $VERSION = '2.06'; # increment with XS changes too
XSLoader::load('Devel::NYTProf', $VERSION);
Modified: trunk/lib/Devel/NYTProf/Data.pm
==============================================================================
--- trunk/lib/Devel/NYTProf/Data.pm (original)
+++ trunk/lib/Devel/NYTProf/Data.pm Fri Oct 31 06:54:02 2008
@@ -50,7 +50,7 @@
use Devel::NYTProf::Core;
use Devel::NYTProf::Util qw(strip_prefix_from_paths
get_abs_paths_alternation_regex);
-our $VERSION = '2.05';
+our $VERSION = '2.06';
my $trace = (($ENV{NYTPROF}||'') =~ m/\b trace=(\d+) /x) && $1; # XXX a
hack
Modified: trunk/lib/Devel/NYTProf/Reader.pm
==============================================================================
--- trunk/lib/Devel/NYTProf/Reader.pm (original)
+++ trunk/lib/Devel/NYTProf/Reader.pm Fri Oct 31 06:54:02 2008
@@ -11,7 +11,7 @@
###########################################################
package Devel::NYTProf::Reader;
-our $VERSION = '2.05';
+our $VERSION = '2.06';
use warnings;
use strict;
Modified: trunk/lib/Devel/NYTProf/Util.pm
==============================================================================
--- trunk/lib/Devel/NYTProf/Util.pm (original)
+++ trunk/lib/Devel/NYTProf/Util.pm Fri Oct 31 06:54:02 2008
@@ -40,7 +40,7 @@
use List::Util qw(sum);
use UNIVERSAL qw( isa can VERSION );
-our $VERSION = '2.05';
+our $VERSION = '2.06';
our @EXPORT_OK = qw(
fmt_float
--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.
Group hosted at: http://groups.google.com/group/develnytprof-dev
Project hosted at: http://perl-devel-nytprof.googlecode.com
CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf
To post, email: [email protected]
To unsubscribe, email: [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---