pub struct BenchmarkResult {
pub name: String,
pub iterations_completed: usize,
pub total_time: Duration,
pub avg_time_per_iteration: Duration,
pub min_time_per_iteration: Duration,
pub max_time_per_iteration: Duration,
pub time_std_dev: Duration,
pub final_loss: Option<f32>,
pub memory_stats: Option<MemoryStats>,
pub convergence_rate: Option<f32>,
}Expand description
Results from a single benchmark run
Contains comprehensive timing, convergence, and memory statistics from a benchmark execution.
Fields§
§name: StringBenchmark name
iterations_completed: usizeNumber of iterations completed
total_time: DurationTotal elapsed time
avg_time_per_iteration: DurationAverage time per iteration
min_time_per_iteration: DurationMinimum time per iteration
max_time_per_iteration: DurationMaximum time per iteration
time_std_dev: DurationStandard deviation of iteration times
final_loss: Option<f32>Final convergence metric (if applicable)
memory_stats: Option<MemoryStats>Memory usage statistics
convergence_rate: Option<f32>Convergence rate (loss reduction per iteration)
Trait Implementations§
Source§impl Clone for BenchmarkResult
impl Clone for BenchmarkResult
Source§fn clone(&self) -> BenchmarkResult
fn clone(&self) -> BenchmarkResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BenchmarkResult
impl Debug for BenchmarkResult
Auto Trait Implementations§
impl Freeze for BenchmarkResult
impl RefUnwindSafe for BenchmarkResult
impl Send for BenchmarkResult
impl Sync for BenchmarkResult
impl Unpin for BenchmarkResult
impl UnsafeUnpin for BenchmarkResult
impl UnwindSafe for BenchmarkResult
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> 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