Revision: 1382
Author: [email protected]
Date: Thu Oct 14 02:13:04 2010
Log: Doc tweaks, mainly to the MAKING NYTPROF FASTER section.

http://code.google.com/p/perl-devel-nytprof/source/detail?r=1382

Modified:
 /trunk/lib/Devel/NYTProf.pm

=======================================
--- /trunk/lib/Devel/NYTProf.pm Fri Sep 24 07:28:35 2010
+++ /trunk/lib/Devel/NYTProf.pm Thu Oct 14 02:13:04 2010
@@ -163,8 +163,7 @@

By default the statement profiler also determines the first line of the current
 block and the first line of the current statement, and accumulates times
-associated with those. NYTProf is the only Perl profiler to perform block level
-profiling.
+associated with those.

Another innovation unique to NYTProf is automatic compensation for a problem inherent in simplistic statement-to-statement timing. Consider a statement that
@@ -378,9 +377,6 @@
 This feature also ensures that in embedded environments, such as mod_perl,
the last statement executed doesn't accumulate the time spent 'outside perl'.

-NYTProf is the only line-level profiler to measure these times correctly.
-The profiler is fast enough that you shouldn't need to disable this feature.
-
 =head2 findcaller=1

Force NYTProf to recalculate the name of the caller of the each sub instead of
@@ -715,9 +711,8 @@

If you don't need statement-level profiling then you can disable it via L</stmts=0>. If you do want it but don't mind loosing block-level timings then set L</blocks=0>.
-If you want need still more speed then set L</leave=0> to disable the
-adjustments made for statements that 'leave' the current control flow (doing
-this I<will> make timings for some kinds of statements less accurate).
+To further boost statement-level profiling performance try L</leave=0> but note that
+I<will> apportion timings for some kinds of statements less accurate).

If you don't need subroutine profiling then you can disable it via L</subs=0>. If you do need it but don't need timings for perl opcodes then set L</slowops=0>.

--
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]

Reply via email to