pub struct BoxTestResult {
pub class_a_low_percentile: f64,
pub class_b_low_percentile: f64,
pub estimated_leak: f64,
pub ci_low: f64,
pub ci_high: f64,
pub confidence: f64,
}Expand description
Result of a box test: the difference between the low percentiles of two samples, plus a confidence interval obtained via bootstrap (no assumption of normally-distributed network latency).
Fields§
§class_a_low_percentile: f64§class_b_low_percentile: f64§estimated_leak: f64class_b - class_a, in the same units as the input data (seconds)
ci_low: f64§ci_high: f64§confidence: f64Implementations§
Source§impl BoxTestResult
impl BoxTestResult
Sourcepub fn is_significant(&self) -> bool
pub fn is_significant(&self) -> bool
The leak is considered statistically significant if the confidence interval of the difference does not contain zero.
Trait Implementations§
Source§impl Clone for BoxTestResult
impl Clone for BoxTestResult
Source§fn clone(&self) -> BoxTestResult
fn clone(&self) -> BoxTestResult
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 BoxTestResult
impl RefUnwindSafe for BoxTestResult
impl Send for BoxTestResult
impl Sync for BoxTestResult
impl Unpin for BoxTestResult
impl UnsafeUnpin for BoxTestResult
impl UnwindSafe for BoxTestResult
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