Skip to content

Commit

Permalink
Show correct measurements in SPEEDTEST
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Aug 11, 2023
1 parent a7af8bc commit cd8f12d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/compile-test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,11 @@ fn main() {
f();
sum += start.elapsed().as_millis();
}
println!("average {} time: {} millis.", speedtest.to_uppercase(), sum / 1000);
println!(
"average {} time: {} millis.",
speedtest.to_uppercase(),
sum / u128::from(iterations)
);
} else {
run_ui();
run_ui_toml();
Expand Down

0 comments on commit cd8f12d

Please sign in to comment.