summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Peter <mail@david-peter.de>2022-02-19 20:03:49 +0100
committerDavid Peter <mail@david-peter.de>2022-02-19 20:03:49 +0100
commitdde26cf1cb444583fc2dc65eba3b4ea163d8d407 (patch)
tree10defbb778a113ee63ae39dd341737dc94540fa3
parentf25c7290a4082dc5aadda87ed42ac561076debd0 (diff)
Rename _res to _result
-rw-r--r--src/benchmark/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmark/mod.rs b/src/benchmark/mod.rs
index a282b5b..a262976 100644
--- a/src/benchmark/mod.rs
+++ b/src/benchmark/mod.rs
@@ -319,7 +319,7 @@ pub fn run_benchmark(
None
};
- let prepare_res = run_preparation_command(&options.shell, &prepare_cmd, options.show_output)?;
+ let prepare_result = run_preparation_command(&options.shell, &prepare_cmd, options.show_output)?;
// Initial timing run
let (res, status) = time_shell_command(
@@ -333,7 +333,7 @@ pub fn run_benchmark(
// Determine number of benchmark runs
let runs_in_min_time = (options.min_time_sec
- / (res.time_real + prepare_res.time_real + shell_spawning_time.time_real))
+ / (res.time_real + prepare_result.time_real + shell_spawning_time.time_real))
as u64;
let count = {