Skip to content
Myr

Rename _res to _result

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent bea0cfa · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/benchmark/mod.rs+2 added-2 removed
317 unmodified lines
318 } else {319 None320 };321322 let prepare_res = run_preparation_command(&options.shell, &prepare_cmd, options.show_output)?;322 let prepare_result = run_preparation_command(&options.shell, &prepare_cmd, options.show_output)?;323324 // Initial timing run325 let (res, status) = time_shell_command(326 &options.shell,
5 unmodified lines
332 let success = status.success();333334 // Determine number of benchmark runs335 let runs_in_min_time = (options.min_time_sec336 / (res.time_real + prepare_res.time_real + shell_spawning_time.time_real))336 / (res.time_real + prepare_result.time_real + shell_spawning_time.time_real))337 as u64;338339 let count = {340 let min = cmp::max(runs_in_min_time, options.run_bounds.min);
180 unmodified lines