fn pct_diff(a: Duration, b: Duration) -> f64