in reply to How to format Benchmark results in hours?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to format Benchmark results in hours?
by m-rau (Scribe) on Feb 10, 2005 at 17:50 UTC |