pub struct BenchmarkReport {
pub started_at_epoch_secs: u64,
pub passed: usize,
pub failed: usize,
pub results: Vec<BenchmarkItem>,
}Expand description
Full benchmark report.
Fields§
§started_at_epoch_secs: u64Unix timestamp (seconds) for run start.
passed: usizeNumber of passed validations.
failed: usizeNumber of failed validations.
results: Vec<BenchmarkItem>Result entries in execution order.
Implementations§
Source§impl BenchmarkReport
impl BenchmarkReport
Sourcepub fn to_json_pretty(&self) -> Result<String, Error>
pub fn to_json_pretty(&self) -> Result<String, Error>
Serialize the report as deterministic pretty JSON.
Sourcepub fn to_markdown(&self) -> String
pub fn to_markdown(&self) -> String
Generate a markdown summary table and per-target detail section.
Trait Implementations§
Source§impl Clone for BenchmarkReport
impl Clone for BenchmarkReport
Source§fn clone(&self) -> BenchmarkReport
fn clone(&self) -> BenchmarkReport
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 BenchmarkReport
impl Debug for BenchmarkReport
Auto Trait Implementations§
impl Freeze for BenchmarkReport
impl RefUnwindSafe for BenchmarkReport
impl Send for BenchmarkReport
impl Sync for BenchmarkReport
impl Unpin for BenchmarkReport
impl UnsafeUnpin for BenchmarkReport
impl UnwindSafe for BenchmarkReport
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