in reply to Re: Can the html output format of Devel::NYTProf be changed?
in thread Can the html output format of Devel::NYTProf be changed?
I did look at that javascript code in the html output, but it didn't seem to be called. But because you mentioned 'nytprofhtml', I looked at the code expecting it to be compiled like NYTProf.so, but it was a pure Perl script.
In the script they did a 'use Devel::NYTProf::Util' which had a sub 'fmt_time'. It had a series of 'sprintf's and I made the change there. Now the output has 'Sec' instead of 's'. While I was at it, I added some bold to the lines to make it a little easier on my eyes.
Devel::NYTProf is awesome!
Thank you
"Well done is better than well said." - Benjamin Franklin
|
|---|