mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Rename --setup to --prepare
This commit is contained in:
1 parent
d5e02ff768
commit
a656fbe508
4 files changed
+39
-30
No files matched your search
@@ -22,8 +22,8 @@ pub struct HyperfineOptions {
|
||||
/// Whether or not to ignore non-zero exit codes
|
||||
pub ignore_failure: bool,
|
||||
|
||||
/// Command to run before each benchmark run
|
||||
pub setup_command: Option<String>,
|
||||
/// Command to run before each timing run
|
||||
pub preparation_command: Option<String>,
|
||||
}
|
||||
|
||||
impl Default for HyperfineOptions {
|
||||
@@ -33,7 +33,7 @@ impl Default for HyperfineOptions {
|
||||
min_runs: 10,
|
||||
min_time_sec: 3.0,
|
||||
ignore_failure: false,
|
||||
setup_command: None,
|
||||
preparation_command: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user