Show correct measurements in SPEEDTEST

This commit is contained in:
Oli Scherer 2023-08-11 15:22:23 +00:00
parent a7af8bc6ec
commit cd8f12dd36

View File

@ -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();