summaryrefslogtreecommitdiff
path: root/cli/tools/bench
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-10-10 14:40:36 +0100
committerGitHub <noreply@github.com>2023-10-10 14:40:36 +0100
commit0606c1140389d8e036087bb24e03bc43d727ffd0 (patch)
treec1b91f685e8fd9e56d3c54b7d37ccc8609fd4515 /cli/tools/bench
parent6450334f5bbb059b55005cebfef57fa7969b625e (diff)
fix(bench): use total time when measuring wavg (#20862)
Diffstat (limited to 'cli/tools/bench')
-rw-r--r--cli/tools/bench/reporters.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/bench/reporters.rs b/cli/tools/bench/reporters.rs
index 68788bc96..35b4a229c 100644
--- a/cli/tools/bench/reporters.rs
+++ b/cli/tools/bench/reporters.rs
@@ -237,7 +237,7 @@ impl BenchReporter for ConsoleReporter {
);
if !stats.high_precision && stats.used_explicit_timers {
- println!("{}", colors::yellow(format!("Warning: start() and end() calls in \"{}\" are ignored because it averages less\nthan 0.01s per iteration. Remove them for better results.", &desc.name)));
+ println!("{}", colors::yellow(format!("Warning: start() and end() calls in \"{}\" are ignored because it averages less\nthan 10µs per iteration. Remove them for better results.", &desc.name)));
}
self.group_measurements.push((desc, stats.clone()));