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
commit 94b1b48eee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -242,7 +242,7 @@ impl<'a> Renderer<'a> {
for bench in &self.benches {
rows.push((
&bench.name,
format!("{:.2?}/iter", bench.median),
format!("{:.2?}ns/iter", bench.median),
format!("+/- {:.2?}", bench.deviation),
));
}