Struct burn_common::benchmark::BenchmarkResult
source · pub struct BenchmarkResult {
pub raw: BenchmarkDurations,
pub computed: BenchmarkComputations,
pub git_hash: String,
pub name: String,
pub options: Option<String>,
pub shapes: Vec<Vec<usize>>,
pub timestamp: u128,
}Expand description
Result of a benchmark run, with metadata
Fields§
§raw: BenchmarkDurationsIndividual raw results of the run
computed: BenchmarkComputationsComputed values for the run
git_hash: StringGit commit hash of the commit in which the run occurred
name: StringName of the benchmark
options: Option<String>Options passed to the benchmark
shapes: Vec<Vec<usize>>Shape dimensions
timestamp: u128Time just before the run
Trait Implementations§
source§impl Clone for BenchmarkResult
impl Clone for BenchmarkResult
source§fn clone(&self) -> BenchmarkResult
fn clone(&self) -> BenchmarkResult
Returns a copy 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 moresource§impl Default for BenchmarkResult
impl Default for BenchmarkResult
source§fn default() -> BenchmarkResult
fn default() -> BenchmarkResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BenchmarkResult
impl Send for BenchmarkResult
impl Sync for BenchmarkResult
impl Unpin 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