pub struct BenchmarkSummary {
pub name: String,
pub job_id: u8,
pub elapsed: Duration,
pub cores: usize,
pub ram_usage: u64,
}Expand description
The results of a benchmark.
This implements Display to provide a human-readable summary of the benchmark.
Fields§
§name: StringThe name of the benchmark.
job_id: u8The job identifier.
elapsed: DurationThe duration of the benchmark.
cores: usizeThe number of cores the benchmark was run with.
ram_usage: u64The amount of memory used by the benchmark (in bytes).
Trait Implementations§
Source§impl Clone for BenchmarkSummary
impl Clone for BenchmarkSummary
Source§fn clone(&self) -> BenchmarkSummary
fn clone(&self) -> BenchmarkSummary
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 moreSource§impl Debug for BenchmarkSummary
impl Debug for BenchmarkSummary
Auto Trait Implementations§
impl Freeze for BenchmarkSummary
impl RefUnwindSafe for BenchmarkSummary
impl Send for BenchmarkSummary
impl Sync for BenchmarkSummary
impl Unpin for BenchmarkSummary
impl UnwindSafe for BenchmarkSummary
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