pub struct ProfileComparison {
pub version: u16,
pub baseline_run_id: String,
pub candidate_run_id: String,
pub comparable: bool,
pub incompatibilities: Vec<ComparisonDifference>,
pub baseline_wall_time_ns: u64,
pub candidate_wall_time_ns: u64,
pub wall_time_delta_ns: i128,
pub wall_time_change_percent: Option<f64>,
pub stages: Vec<StageComparison>,
}Expand description
Deterministic comparison of two profile records.
Fields§
§version: u16§baseline_run_id: String§candidate_run_id: String§comparable: bool§incompatibilities: Vec<ComparisonDifference>§baseline_wall_time_ns: u64§candidate_wall_time_ns: u64§wall_time_delta_ns: i128§wall_time_change_percent: Option<f64>§stages: Vec<StageComparison>Implementations§
Source§impl ProfileComparison
impl ProfileComparison
Sourcepub fn render_text(&self) -> String
pub fn render_text(&self) -> String
Render a stable text comparison. Incompatible inputs remain visible and are never called a speedup.
Trait Implementations§
Source§impl Clone for ProfileComparison
impl Clone for ProfileComparison
Source§fn clone(&self) -> ProfileComparison
fn clone(&self) -> ProfileComparison
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 moreSource§impl Debug for ProfileComparison
impl Debug for ProfileComparison
Source§impl<'de> Deserialize<'de> for ProfileComparison
impl<'de> Deserialize<'de> for ProfileComparison
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProfileComparison
impl PartialEq for ProfileComparison
Source§impl Serialize for ProfileComparison
impl Serialize for ProfileComparison
impl StructuralPartialEq for ProfileComparison
Auto Trait Implementations§
impl Freeze for ProfileComparison
impl RefUnwindSafe for ProfileComparison
impl Send for ProfileComparison
impl Sync for ProfileComparison
impl Unpin for ProfileComparison
impl UnsafeUnpin for ProfileComparison
impl UnwindSafe for ProfileComparison
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