pub struct ImputationMemoryBenchmark { /* private fields */ }Expand description
Benchmark memory usage of different imputation methods
Implementations§
Source§impl ImputationMemoryBenchmark
impl ImputationMemoryBenchmark
Sourcepub fn add_result(&mut self, name: String, result: MemoryProfilingResult)
pub fn add_result(&mut self, name: String, result: MemoryProfilingResult)
Add a profiling result
Sourcepub fn comparison_report(&self) -> String
pub fn comparison_report(&self) -> String
Generate comparison report
Sourcepub fn most_efficient(&self) -> Option<(&String, &MemoryProfilingResult)>
pub fn most_efficient(&self) -> Option<(&String, &MemoryProfilingResult)>
Find the most memory-efficient method
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImputationMemoryBenchmark
impl RefUnwindSafe for ImputationMemoryBenchmark
impl Send for ImputationMemoryBenchmark
impl Sync for ImputationMemoryBenchmark
impl Unpin for ImputationMemoryBenchmark
impl UnwindSafe for ImputationMemoryBenchmark
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> 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