Revision: 1338
Author: [email protected]
Date: Thu Jul 22 17:55:41 2010
Log: Add more items to HACKING and a comment in demo/demo-code.pl
http://code.google.com/p/perl-devel-nytprof/source/detail?r=1338
Modified:
/trunk/HACKING
/trunk/demo/demo-code.pl
=======================================
--- /trunk/HACKING Thu Jul 8 07:10:06 2010
+++ /trunk/HACKING Thu Jul 22 17:55:41 2010
@@ -190,6 +190,10 @@
the sum of the statement times don't match the time spent with the profiler
enabled, due to nested string evals for example).
+Add flags to sub call info to indicate what phase (BEGIN, etc) the call
+happened in. That'll allow call graphs to ignore BEGIN-time calls
+(which tend to make graphviz output too noisy to be useful).
+
*** For reports only
::Reader and its data structures need to be refactored to death.
@@ -217,6 +221,9 @@
This is a more general way to view the problem of xsubs in packages
for which we don't have any perl source code.
+Consider restoring inclusive-time treemap with an appropriate description
+to explain how to interpret it.
+
*** Other - mostly unsorted - stuff ***
Intercept all opcodes that may fork and run perl code in the child
@@ -389,3 +396,4 @@
Add "calls N subs" to treemap mouseover box
Upgrade treemap to JIT version 2 (which has transition animations).
+
=======================================
--- /trunk/demo/demo-code.pl Thu Jul 8 04:14:31 2010
+++ /trunk/demo/demo-code.pl Thu Jul 22 17:55:41 2010
@@ -28,6 +28,7 @@
# call foo and then execute a slow expression *in the same statement*
# With all line profilers except NYTProf, the time for that expression
gets
# assigned to the previous statement, i.e., the last statement
executed in foo()!
+ # XXX this doesn't seem to be slow in 5.12+ - need a better example
foo() && 'aaaaaaaaaaa' =~ /((a{0,5}){0,5})*[c]/;
1;
--
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]