pub struct StepDelta {
pub name: String,
pub matched: StepMatch,
pub this: Option<u32>,
pub baseline: Option<u32>,
pub time: FigureDelta,
pub memory: Option<FigureDelta>,
pub cpu: Option<FigureDelta>,
}Expand description
One step beside the baseline’s step of the same name.
Fields§
§name: StringThe step’s name, without escapes or control characters, cut to 200 bytes.
matched: StepMatchHow it was paired.
this: Option<u32>This job’s step number, if it has the step.
baseline: Option<u32>The baseline’s step number, if it has the step.
time: FigureDeltaIts time on each side.
memory: Option<FigureDelta>Its memory peak on each side, sampled: only where both steps’ samples cover them.
cpu: Option<FigureDelta>Its average CPU on each side, as memory.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StepDelta
impl<'de> Deserialize<'de> for StepDelta
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
impl Eq for StepDelta
impl StructuralPartialEq for StepDelta
Auto Trait Implementations§
impl Forget for StepDelta
impl Freeze for StepDelta
impl Move for StepDelta
impl RefUnwindSafe for StepDelta
impl Send for StepDelta
impl Sync for StepDelta
impl Unpin for StepDelta
impl UnsafeUnpin for StepDelta
impl UnwindSafe for StepDelta
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.