pub struct ExportResult {
pub command: String,
pub bench: String,
pub subject: String,
pub mean: f64,
pub stddev: Option<f64>,
pub median: f64,
pub min: f64,
pub max: f64,
pub times: Vec<f64>,
pub exit_codes: Vec<i32>,
}Fields§
§command: Stringhyperfine’s display name: the subject, or the benchmark for a single-command one.
bench: String§subject: String§mean: f64Seconds, like hyperfine, not the milliseconds tak records.
stddev: Option<f64>null for a single sample, as hyperfine writes it.
median: f64§min: f64§max: f64§times: Vec<f64>Every timed sample in seconds, in the order taken.
exit_codes: Vec<i32>Always zero: a sample that fails drops its subject rather than being kept, so every exported time is from a successful run.
Implementations§
Trait Implementations§
Source§impl Debug for ExportResult
impl Debug for ExportResult
Auto Trait Implementations§
impl Freeze for ExportResult
impl RefUnwindSafe for ExportResult
impl Send for ExportResult
impl Sync for ExportResult
impl Unpin for ExportResult
impl UnsafeUnpin for ExportResult
impl UnwindSafe for ExportResult
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