pub struct SubMsBenchDiff {
pub baseline_workload: String,
pub candidate_workload: String,
pub lang: String,
pub stages: Vec<SubMsStageDiff>,
pub baseline_only_stages: Vec<String>,
pub candidate_only_stages: Vec<String>,
pub regression_threshold_pct: f64,
}Expand description
Typed diff between a baseline and a candidate SubMsBenchSummary.
Java counterpart: SubMsBenchDiff.
Fields§
§baseline_workload: String§candidate_workload: String§lang: String§stages: Vec<SubMsStageDiff>§baseline_only_stages: Vec<String>§candidate_only_stages: Vec<String>§regression_threshold_pct: f64Implementations§
Source§impl SubMsBenchDiff
impl SubMsBenchDiff
Sourcepub fn has_regression(&self) -> bool
pub fn has_regression(&self) -> bool
true if any stage’s worst_regression_pct exceeded
regression_threshold_pct.
Sourcepub fn worst_stage(&self) -> Option<&SubMsStageDiff>
pub fn worst_stage(&self) -> Option<&SubMsStageDiff>
The worst-regressing stage, or None if all stages stayed within the threshold.
Trait Implementations§
Source§impl Clone for SubMsBenchDiff
impl Clone for SubMsBenchDiff
Source§fn clone(&self) -> SubMsBenchDiff
fn clone(&self) -> SubMsBenchDiff
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SubMsBenchDiff
impl RefUnwindSafe for SubMsBenchDiff
impl Send for SubMsBenchDiff
impl Sync for SubMsBenchDiff
impl Unpin for SubMsBenchDiff
impl UnsafeUnpin for SubMsBenchDiff
impl UnwindSafe for SubMsBenchDiff
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