pub struct BenchmarkResult {Show 14 fields
pub mode: String,
pub op: String,
pub size: usize,
pub compression: String,
pub chunk_size: usize,
pub elapsed: f64,
pub mb_per_s: f64,
pub ratio: Option<f64>,
pub cpu_percent: f64,
pub mem_before: f64,
pub mem_after: f64,
pub timestamp: String,
pub scenario: Option<String>,
pub traces: Option<HashMap<String, String>>,
}Fields§
§mode: String§op: String§size: usize§compression: String§chunk_size: usize§elapsed: f64§mb_per_s: f64§ratio: Option<f64>§cpu_percent: f64§mem_before: f64§mem_after: f64§timestamp: String§scenario: Option<String>§traces: Option<HashMap<String, String>>Implementations§
Source§impl BenchmarkResult
impl BenchmarkResult
pub fn pretty_row(&self) -> String
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 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