pub struct Percentiles {
pub p50: Duration,
pub p90: Duration,
pub p99: Duration,
pub mean: Duration,
}Expand description
Percentile statistics for a benchmark run.
Contains the 50th, 90th, and 99th percentile timings along with the mean.
Fields§
§p50: Duration50th percentile (median) timing
p90: Duration90th percentile timing
p99: Duration99th percentile timing
mean: DurationArithmetic mean of all timings
Trait Implementations§
Source§impl Clone for Percentiles
impl Clone for Percentiles
Source§fn clone(&self) -> Percentiles
fn clone(&self) -> Percentiles
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 Percentiles
impl Debug for Percentiles
Source§impl Default for Percentiles
impl Default for Percentiles
Source§fn default() -> Percentiles
fn default() -> Percentiles
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Percentiles
impl<'de> Deserialize<'de> for Percentiles
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
Auto Trait Implementations§
impl Freeze for Percentiles
impl RefUnwindSafe for Percentiles
impl Send for Percentiles
impl Sync for Percentiles
impl Unpin for Percentiles
impl UnwindSafe for Percentiles
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