pub struct Args {
pub results_dir: PathBuf,
pub output: Option<PathBuf>,
pub suite: String,
pub commit: Option<String>,
pub reference_dir: Option<PathBuf>,
pub candidate_dir: Option<PathBuf>,
pub executables: Option<PathBuf>,
pub cargo_log: Option<PathBuf>,
pub source_dir: Option<PathBuf>,
pub minimum_tolerance_percent: f64,
pub command: Option<Command>,
}Expand description
CLI configuration arguments for parsing benchmarks.
Fields§
§results_dir: PathBufDirectory containing benchmark .txt output files.
output: Option<PathBuf>Output JSON summary file path (defaults to <results_dir>/broker-benchmarks.json).
suite: StringSuite identifier for the benchmark summary.
commit: Option<String>Git commit SHA (defaults to GITHUB_SHA env var or "unknown").
reference_dir: Option<PathBuf>Directory of repeated reference summary JSON files to compare.
candidate_dir: Option<PathBuf>Directory of repeated candidate summary JSON files to compare.
executables: Option<PathBuf>The executable manifest this pass’s side was prebuilt into. With it, the summary records which executables the pass ran, and parsing fails unless they are the manifest’s, unchanged.
cargo_log: Option<PathBuf>Cargo’s standard error from this pass, whose Running lines name the
executables it ran.
source_dir: Option<PathBuf>The directory Cargo ran in, against which relative Running paths
resolve (defaults to the current directory).
minimum_tolerance_percent: f64Minimum allowed slowdown percentage for comparison mode.
command: Option<Command>The broker performance lane; without one, the criterion lane runs.
Trait Implementations§
Source§impl Args for Args
impl Args for Args
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl FromArgMatches for Args
impl FromArgMatches for Args
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.