pub fn format_duration(d: Duration) -> StringExpand description
Format a Duration as MmSSs for short runs and Hh MmSSs for long ones.
Why: Operators care about seconds for sub-minute phases and want to see
minutes/seconds for long ones. Strict secs.millis is not friendly when a
phase runs for several minutes.
What: 42s, 3m12s, 1h05m12s.
Test: format_duration_renders_human_friendly.