pub struct BenchmarkConfig {
pub targets: Vec<ValidationTarget>,
pub tier1_only: bool,
pub continue_on_error: bool,
pub timeout_override: Option<Duration>,
}Expand description
Benchmark runtime configuration.
Fields§
§targets: Vec<ValidationTarget>Targets to execute in order.
tier1_only: boolRestrict execution to Tier-1 CI-safe targets.
continue_on_error: boolContinue running remaining targets after one fails.
timeout_override: Option<Duration>Optional override for every target timeout.
Implementations§
Source§impl BenchmarkConfig
impl BenchmarkConfig
Sourcepub fn resolved_targets(&self) -> Vec<ValidationTarget>
pub fn resolved_targets(&self) -> Vec<ValidationTarget>
Resolve the effective target list from config flags.
Sourcepub fn parse_target_names(names: &[String]) -> Vec<ValidationTarget>
pub fn parse_target_names(names: &[String]) -> Vec<ValidationTarget>
Parse user-facing target names into enum values.
Trait Implementations§
Source§impl Clone for BenchmarkConfig
impl Clone for BenchmarkConfig
Source§fn clone(&self) -> BenchmarkConfig
fn clone(&self) -> BenchmarkConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BenchmarkConfig
impl Debug for BenchmarkConfig
Source§impl Default for BenchmarkConfig
impl Default for BenchmarkConfig
Source§impl PartialEq for BenchmarkConfig
impl PartialEq for BenchmarkConfig
Source§impl Serialize for BenchmarkConfig
impl Serialize for BenchmarkConfig
impl Eq for BenchmarkConfig
impl StructuralPartialEq for BenchmarkConfig
Auto Trait Implementations§
impl Freeze for BenchmarkConfig
impl RefUnwindSafe for BenchmarkConfig
impl Send for BenchmarkConfig
impl Sync for BenchmarkConfig
impl Unpin for BenchmarkConfig
impl UnsafeUnpin for BenchmarkConfig
impl UnwindSafe for BenchmarkConfig
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.