We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ebcf6 commit 6303c68Copy full SHA for 6303c68
collector/src/compile/benchmark/mod.rs
@@ -325,9 +325,9 @@ impl Benchmark {
325
Ok(())
326
})?;
327
log::trace!(
328
- "preparing {} took {} seconds",
+ "preparing {} took {:.3} seconds",
329
self.name,
330
- preparation_start.elapsed().as_secs()
+ preparation_start.elapsed().as_secs_f64()
331
);
332
333
let benchmark_start = std::time::Instant::now();
@@ -416,9 +416,9 @@ impl Benchmark {
416
}
417
418
419
- "benchmarking {} took {} seconds",
+ "benchmarking {} took {:.3} seconds",
420
421
- benchmark_start.elapsed().as_secs()
+ benchmark_start.elapsed().as_secs_f64()
422
423
424
0 commit comments