pub struct BenchmarkSummary {
pub method_name: String,
pub dataset_name: String,
pub approximation_dimension: usize,
pub quality_means: HashMap<QualityMetric, f64>,
pub quality_stds: HashMap<QualityMetric, f64>,
pub performance_means: HashMap<PerformanceMetric, Duration>,
pub performance_stds: HashMap<PerformanceMetric, Duration>,
pub success_rate: f64,
pub memory_usage_mean_mb: f64,
pub memory_usage_std_mb: f64,
}Expand description
Summary statistics across multiple benchmark runs BenchmarkSummary
Fields§
§method_name: Stringmethod_name
dataset_name: Stringdataset_name
approximation_dimension: usizeapproximation_dimension
quality_means: HashMap<QualityMetric, f64>quality_means
quality_stds: HashMap<QualityMetric, f64>quality_stds
performance_means: HashMap<PerformanceMetric, Duration>performance_means
performance_stds: HashMap<PerformanceMetric, Duration>performance_stds
success_rate: f64success_rate
memory_usage_mean_mb: f64memory_usage_mean_mb
memory_usage_std_mb: f64memory_usage_std_mb
Trait Implementations§
Source§impl Clone for BenchmarkSummary
impl Clone for BenchmarkSummary
Source§fn clone(&self) -> BenchmarkSummary
fn clone(&self) -> BenchmarkSummary
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 moreAuto Trait Implementations§
impl Freeze for BenchmarkSummary
impl RefUnwindSafe for BenchmarkSummary
impl Send for BenchmarkSummary
impl Sync for BenchmarkSummary
impl Unpin for BenchmarkSummary
impl UnwindSafe for BenchmarkSummary
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> 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