Author: tim.bunce
Date: Fri Jul 10 14:44:21 2009
New Revision: 816
Modified:
trunk/lib/Devel/NYTProf.pm
Log:
Clarify the impact of the perl api call_*() functions not being profiled
in older perl, and specifically mention tie().
Modified: trunk/lib/Devel/NYTProf.pm
==============================================================================
--- trunk/lib/Devel/NYTProf.pm (original)
+++ trunk/lib/Devel/NYTProf.pm Fri Jul 10 14:44:21 2009
@@ -624,15 +624,23 @@
perl versions before 5.8.8. That's because L<Readonly> explicitly checking
for
certain values from caller(). The L<NEXT> module is also affected.
-=head2 For perl < 5.10.1 it can't see calls made via operator overloading
+=head2 For perl < 5.10.1 it can't see some implicit subroutine calls
-For perl versions prior to 5.8.9 and 5.10.1, calls made via operator
-overloading are not noticed by the I<subroutine> profiler. Though the
-statements executed by the code in the overload subs are profiled.
+made via operator overloading
-The effect is that time in the subroutines that handle overloading is
-accumulated by any subroutines that trigger overloading (so it is measured,
-but the cost is dispersed across possibly many calling locations).
+For perl versions prior to 5.8.9 and 5.10.1, some implicit subroutine calls
+can't be seen by the I<subroutine> profiler. Technically this affects calls
+made via the various perl C<call_*()> internal APIs.
+
+For example, the C<TIE><whatever> subroutine called by C<tie()>, and all
calls
+made via operator overloading. Though the statements executed by the code
in
+the overload subs are profiled.
+
+The effect is that time in the subroutines for those call is
+accumulated by the subs that trigger them. So time spent in calls invoked
by
+perl to handle overloading are accumulated by the subroutines that trigger
+overloading (so it is measured, but the cost is dispersed across possibly
many
+calling locations).
=head2 goto
--~--~---------~--~----~------------~-------~--~----~
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]
-~----------~----~----~----~------~----~------~--~---