From 8084a9eb7f69a2b594ef416ec6dad60c64c50abc Mon Sep 17 00:00:00 2001 From: David Peter Date: Mon, 5 Oct 2026 13:57:31 +0200 Subject: [PATCH] Adopt the remaining statistics changes from #790 --- src/benchmark/measurement.rs | 9 +++--- src/quantity/statistics.rs | 59 ++++++++++++++++++------------------ 2 files changed, 35 insertions(+), 33 deletions(-) diff --git a/src/benchmark/measurement.rs b/src/benchmark/measurement.rs index 718ca88..da35e9b 100644 --- a/src/benchmark/measurement.rs +++ b/src/benchmark/measurement.rs @@ -54,13 +54,14 @@ impl Measurements { mean(self.wall_clock_times()) } - /// The standard deviation of wall clock times, if at least two runs were measured. + /// The standard deviation of all wall clock times. Not available if only one run has been performed pub fn stddev(&self) -> Option