fn render_latencies( output: &mut String, responded: &[Duration], failed: &[Duration], attempted: &[Duration], ) -> Result