On Wed, Jul 01, 2009 at 10:58:32AM +0100, Tim Bunce wrote: > > > and I was sometimes confused by the different units of > > measurement for time. I suppose that's why the colors are there, but I > > think I might prefer to see everything displayed in the same unit of > > measure, with the same number of significant digits (to me, the "size" of > > the number stands out more than anything else). > > Interesting. That could be added as an option.
As a temporary hack I've added an NYTPROF_FMT_TIME env var that, if set, specifies the sprintf format string used to format the time. A simple '%f' or '%fs' works quite well except for very small values, which are rendered as '0.000000'. Using '%.8f' avoids that at the cost of wider reprt columns. 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] -~----------~----~----~----~------~----~------~--~---
