Skip to content

Commit

Permalink
Try to reduce rounding of floats
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Dec 18, 2024
1 parent c56b403 commit 111851d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/benchmarker/src/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ fn bench_single_cmd_getrusage(cmd: Vec<String>) -> SingleBench {
counters: BTreeMap::from_iter([(
"user-time".to_owned(),
BenchCounter {
value: user_time.as_secs_f64() * 1000.0,
value: user_time.as_millis() as f64,
unit: "msec".to_owned(),
},
)]),
Expand Down

0 comments on commit 111851d

Please sign in to comment.