pub struct BenchmarkResult {
pub name: String,
pub config_name: String,
pub data_size: usize,
pub avg_time_ms: f64,
pub min_time_ms: f64,
pub max_time_ms: f64,
pub std_dev_ms: f64,
pub throughput_eps: f64,
pub memory_usage_bytes: usize,
pub peak_memory_bytes: usize,
pub accuracy_metrics: Option<AccuracyMetrics>,
pub hardware_info: HardwareInfo,
}Expand description
Individual benchmark result
Fields§
§name: StringBenchmark name
config_name: StringConfiguration used
data_size: usizeData size tested
avg_time_ms: f64Average execution time
min_time_ms: f64Minimum execution time
max_time_ms: f64Maximum execution time
std_dev_ms: f64Standard deviation of execution times
throughput_eps: f64Throughput (elements per second)
memory_usage_bytes: usizeMemory usage in bytes
peak_memory_bytes: usizePeak memory usage in bytes
accuracy_metrics: Option<AccuracyMetrics>Quantization accuracy (if measured)
hardware_info: HardwareInfoHardware information
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 · 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 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
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