Rollup merge of #134556 - the8472:restore-ns-units, r=jieyouxu

[tiny] fix missing ns units in bootstrap's benchmark rendering
This commit is contained in:
Matthias Krüger
2024-12-20 21:32:29 +01:00
committed by GitHub
+1 -1
View File
@@ -242,7 +242,7 @@ fn render_suite_outcome(&self, outcome: Outcome<'_>, suite: &SuiteOutcome) {
for bench in &self.benches {
rows.push((
&bench.name,
format!("{:.2?}/iter", bench.median),
format!("{:.2?}ns/iter", bench.median),
format!("+/- {:.2?}", bench.deviation),
));
}