> On May 24, 2017, at 7:17 PM, Chas. Owens wrote:
>
> Take a look at Devel::NYTProf...
Thanks, Chas. I had made a mental note a while back to look into
Devel::NYTProf, but it had slipped my mind, so your response was perfectly
timed.
Just within the first hour of using it,
"Chas. Owens" writes:
> You can use printf or sprintf to control the format, but what you are doing
> is called profiling and it is better to use an actual profiler. Take a look
> at Devel::NYTProf
>
> http://search.cpan.org/~timb/Devel-NYTProf-6.04/lib/Devel/NYTProf.pm
>
> https://www.perl.org/a
You can use printf or sprintf to control the format, but what you are doing
is called profiling and it is better to use an actual profiler. Take a look
at Devel::NYTProf
http://search.cpan.org/~timb/Devel-NYTProf-6.04/lib/Devel/NYTProf.pm
https://www.perl.org/about/whitepapers/perl-profiling.html
I’m timing sub routines to get an idea of where my scripts spend the
most of their time. This is an example of what I’m doing:
use Time::HiRes qw( clock );
my $clock0 = clock();
... # Do something.
my $clock1 = clock();
my $clockd = $clock1 - $clock0;
I’m getting values like $cl