pub struct PerformanceBaseline {
pub op_baselines: HashMap<String, ProfileStatistics>,
pub total_time_baseline: Duration,
}Expand description
Performance baseline for regression detection
Fields§
§op_baselines: HashMap<String, ProfileStatistics>§total_time_baseline: DurationImplementations§
Source§impl PerformanceBaseline
impl PerformanceBaseline
pub fn new() -> Self
pub fn from_profile_data(data: &ProfileData) -> Self
Sourcepub fn compare(&self, data: &ProfileData) -> PerformanceComparison
pub fn compare(&self, data: &ProfileData) -> PerformanceComparison
Compare current data against baseline
Trait Implementations§
Source§impl Clone for PerformanceBaseline
impl Clone for PerformanceBaseline
Source§fn clone(&self) -> PerformanceBaseline
fn clone(&self) -> PerformanceBaseline
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 PerformanceBaseline
impl Debug for PerformanceBaseline
Auto Trait Implementations§
impl Freeze for PerformanceBaseline
impl RefUnwindSafe for PerformanceBaseline
impl Send for PerformanceBaseline
impl Sync for PerformanceBaseline
impl Unpin for PerformanceBaseline
impl UnwindSafe for PerformanceBaseline
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