pub struct RegressionFinding {
pub object_type: String,
pub modification_type: String,
pub baseline_p50: f64,
pub baseline_p95: f64,
pub recent_p50: f64,
pub recent_p95: f64,
pub pct_change: f64,
pub baseline_samples: usize,
pub recent_samples: usize,
}Expand description
A flagged latency regression for one operation.
Fields§
§object_type: StringEntity type (object_type).
modification_type: StringINSERT / UPDATE / DELETE / CUSTOM.
baseline_p50: f64Median latency over the baseline window, in milliseconds.
baseline_p95: f6495th-percentile latency over the baseline window, in milliseconds.
recent_p50: f64Median latency over the recent window, in milliseconds.
recent_p95: f6495th-percentile latency over the recent window, in milliseconds.
pct_change: f64(recent_p50 / max(baseline_p50, 1ms) - 1) * 100.
baseline_samples: usizeComparable rows on the baseline side.
recent_samples: usizeComparable rows on the recent side.
Trait Implementations§
Source§impl Clone for RegressionFinding
impl Clone for RegressionFinding
Source§fn clone(&self) -> RegressionFinding
fn clone(&self) -> RegressionFinding
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 RegressionFinding
impl Debug for RegressionFinding
Source§impl PartialEq for RegressionFinding
impl PartialEq for RegressionFinding
Source§fn eq(&self, other: &RegressionFinding) -> bool
fn eq(&self, other: &RegressionFinding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RegressionFinding
impl Serialize for RegressionFinding
impl StructuralPartialEq for RegressionFinding
Auto Trait Implementations§
impl Freeze for RegressionFinding
impl RefUnwindSafe for RegressionFinding
impl Send for RegressionFinding
impl Sync for RegressionFinding
impl Unpin for RegressionFinding
impl UnsafeUnpin for RegressionFinding
impl UnwindSafe for RegressionFinding
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more