pub struct BenchmarkSuite<T: Float + Debug + Send + Sync + 'static> { /* private fields */ }Expand description
Comprehensive benchmark suite
Implementations§
Source§impl<T: Float + Debug + Default + Send + Sync> BenchmarkSuite<T>
impl<T: Float + Debug + Default + Send + Sync> BenchmarkSuite<T>
Sourcepub fn steps_per_benchmark(&self) -> usize
pub fn steps_per_benchmark(&self) -> usize
Number of optimizer steps executed per benchmark run.
Sourcepub fn metadata(&self) -> &BenchmarkMetadata
pub fn metadata(&self) -> &BenchmarkMetadata
Identity of this benchmark suite: name, version, description, author and licence.
Sourcepub fn standard_benchmarks(&self) -> &[StandardBenchmark<T>]
pub fn standard_benchmarks(&self) -> &[StandardBenchmark<T>]
Registered standard benchmarks.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for BenchmarkSuite<T>
impl<T> RefUnwindSafe for BenchmarkSuite<T>
impl<T> Send for BenchmarkSuite<T>
impl<T> Sync for BenchmarkSuite<T>
impl<T> Unpin for BenchmarkSuite<T>
impl<T> UnsafeUnpin for BenchmarkSuite<T>
impl<T> UnwindSafe for BenchmarkSuite<T>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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