pub struct Cli {Show 24 fields
pub command: Option<Commands>,
pub filter: String,
pub format: String,
pub output: Option<PathBuf>,
pub baseline: Option<PathBuf>,
pub dry_run: bool,
pub threshold: Option<f64>,
pub group: Option<String>,
pub tag: Option<String>,
pub skip_tag: Option<String>,
pub warmup: u64,
pub measurement: u64,
pub samples: Option<u64>,
pub min_iterations: Option<u64>,
pub max_iterations: Option<u64>,
pub verbose: bool,
pub isolated: bool,
pub one_shot: bool,
pub worker_timeout: u64,
pub jobs: usize,
pub threads: usize,
pub flux_worker: bool,
pub save_baseline: Option<Option<PathBuf>>,
pub bench: bool,
}Expand description
FluxBench CLI arguments
Fields§
§command: Option<Commands>Optional subcommand (List, Run, Compare); defaults to Run
filter: StringFilter benchmarks by regex pattern
format: StringOutput format: json, github-summary, csv, html, human
output: Option<PathBuf>Output file (stdout if not specified)
baseline: Option<PathBuf>Load baseline for comparison
dry_run: boolDry run - list benchmarks without executing
threshold: Option<f64>Regression threshold percentage
group: Option<String>Run benchmarks for this group only
tag: Option<String>Filter by tag
skip_tag: Option<String>Skip benchmarks with this tag
warmup: u64Warmup time in seconds
measurement: u64Measurement time in seconds
samples: Option<u64>Fixed sample count mode: skip warmup, run exactly N iterations Each iteration becomes one sample. Overrides warmup/measurement/min/max.
min_iterations: Option<u64>Minimum number of iterations
max_iterations: Option<u64>Maximum number of iterations
verbose: boolVerbose output
isolated: boolRun benchmarks in isolated worker processes (default: true) Use –isolated=false to disable and run in-process
one_shot: boolUse fresh worker process for each benchmark (One-Shot mode) Default is Persistent mode: reuse worker for safe Rust code
worker_timeout: u64Worker timeout in seconds
jobs: usizeNumber of parallel isolated workers
threads: usizeNumber of threads for parallel statistics computation 0 = use all available cores (default), 1 = single-threaded
flux_worker: boolInternal: Run as worker process (used by supervisor)
save_baseline: Option<Option<PathBuf>>Save benchmark results as baseline JSON Optionally specify a path; defaults to config or target/fluxbench/baseline.json
bench: boolInternal: Absorb cargo bench’s –bench flag
Trait Implementations§
Source§impl Args for Cli
impl Args for Cli
Source§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 CommandFactory for Cli
impl CommandFactory for Cli
Source§impl FromArgMatches for Cli
impl FromArgMatches for Cli
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.Source§impl Parser for Cli
impl Parser for Cli
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for Cli
impl RefUnwindSafe for Cli
impl Send for Cli
impl Sync for Cli
impl Unpin for Cli
impl UnwindSafe for Cli
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.