mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Rename Runs to RunBounds
This commit is contained in:
1 parent
250db61fa0
commit
bea0cfab30
2 files changed
+16
-16
No files matched your search
@@ -311,7 +311,7 @@ pub fn run_benchmark(
|
||||
// Set up progress bar (and spinner for initial measurement)
|
||||
let progress_bar = if options.output_style != OutputStyleOption::Disabled {
|
||||
Some(get_progress_bar(
|
||||
options.runs.min,
|
||||
options.run_bounds.min,
|
||||
"Initial time measurement",
|
||||
options.output_style,
|
||||
))
|
||||
@@ -337,10 +337,10 @@ pub fn run_benchmark(
|
||||
as u64;
|
||||
|
||||
let count = {
|
||||
let min = cmp::max(runs_in_min_time, options.runs.min);
|
||||
let min = cmp::max(runs_in_min_time, options.run_bounds.min);
|
||||
|
||||
options
|
||||
.runs
|
||||
.run_bounds
|
||||
.max
|
||||
.as_ref()
|
||||
.map(|max| cmp::min(min, *max))
|
||||
|
||||
Reference in new issue
Block a user