pub struct BenchmarkReport {
pub timestamp: String,
pub hostname: String,
pub suite: Option<String>,
pub git_commit: Option<String>,
pub results: Vec<BenchmarkResult>,
}Expand description
Persisted benchmark report for serialization and optional comparisons.
Fields§
§timestamp: String§hostname: String§suite: Option<String>§git_commit: Option<String>§results: Vec<BenchmarkResult>Implementations§
Source§impl BenchmarkReport
impl BenchmarkReport
pub fn print_summary(&self)
pub fn print_summary_with(&self, comparison_policy: ComparisonPolicy)
pub fn save_to_default_location(&self) -> Result<PathBuf, Box<dyn Error>>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BenchmarkReport
impl<'de> Deserialize<'de> for BenchmarkReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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