On Thu, Nov 13, 2008 at 12:01:22AM -0600, Elliot Shank wrote:
> 
> Since run times are so much longer when being profiled, there's no
> natural feel for how long different things are taking, especially when
> first pulling up index.html.  Yeah, that subroutine has an exclusive
> time of 50 seconds, but how long is that when normal total run time is
> 20 seconds?
> 
> Ideas:
> 
> 1) Take the summary, especially the total run time, and copy/move it
> to the top of index.html.

I've added a summary sentance to the top of the index page.

> 2) In addition to the showing the raw inclusive/exclusive times for
> each thing, show the times as a percentage of the whole.

I've been meaning to add percentages for a while but was reluctant to do
because "of the whole" is rather more tricky than it first appears.

After thinking about it some more I decided to implement it as
"something reasonable" but simply not document what "the whole" is.
Feel free to refine or document it (in relation to the start=when option
and use of DB::disable_profile function). Patches welcome!

Tim.

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