pub struct BenchSummary {
pub name: String,
pub iterations: u32,
pub warmup: u32,
pub mean_ns: f64,
pub median_ns: f64,
pub std_dev_ns: f64,
pub min_ns: u64,
pub max_ns: u64,
pub p95_ns: f64,
pub p99_ns: f64,
}Expand description
Statistical summary of benchmark results.
Fields§
§name: StringName of the benchmark.
iterations: u32Number of measured iterations.
warmup: u32Number of warmup iterations.
mean_ns: f64Mean duration in nanoseconds.
median_ns: f64Median duration in nanoseconds.
std_dev_ns: f64Standard deviation in nanoseconds.
min_ns: u64Minimum duration in nanoseconds.
max_ns: u64Maximum duration in nanoseconds.
p95_ns: f6495th percentile in nanoseconds.
p99_ns: f6499th percentile in nanoseconds.
Trait Implementations§
Source§impl Clone for BenchSummary
impl Clone for BenchSummary
Source§fn clone(&self) -> BenchSummary
fn clone(&self) -> BenchSummary
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 BenchSummary
impl Debug for BenchSummary
Source§impl<'de> Deserialize<'de> for BenchSummary
impl<'de> Deserialize<'de> for BenchSummary
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 BenchSummary
impl RefUnwindSafe for BenchSummary
impl Send for BenchSummary
impl Sync for BenchSummary
impl Unpin for BenchSummary
impl UnsafeUnpin for BenchSummary
impl UnwindSafe for BenchSummary
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