There must be an easy way to do this, right?
I wrote a snippet Formatting elapsed time to do just this. For instance, if your benchmark took 3661 seconds, it would return 1h1m1s. It will allow for durations of up to weeks. Now that I think about this code, the web app I wrote it for initially is still in use today.
- another intruder with the mooring in the heart of the Perl
In reply to Re: How to format Benchmark results in hours?
by grinder
in thread How to format Benchmark results in hours?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |