pub struct PerformanceReport {
pub timestamp: DateTime<Utc>,
pub config: ReportConfig,
pub benchmark_results: BenchmarkResults,
pub analysis_results: Vec<AnalysisResult>,
pub summary: ReportSummary,
pub output_path: PathBuf,
}Expand description
Complete performance report
Fields§
§timestamp: DateTime<Utc>§config: ReportConfig§benchmark_results: BenchmarkResults§analysis_results: Vec<AnalysisResult>§summary: ReportSummary§output_path: PathBufImplementations§
Source§impl PerformanceReport
impl PerformanceReport
Sourcepub fn has_regressions(&self) -> bool
pub fn has_regressions(&self) -> bool
Check if the report contains performance regressions
Sourcepub fn output_path(&self) -> &Path
pub fn output_path(&self) -> &Path
Get the output path for the report
Trait Implementations§
Source§impl Debug for PerformanceReport
impl Debug for PerformanceReport
Source§impl<'de> Deserialize<'de> for PerformanceReport
impl<'de> Deserialize<'de> for PerformanceReport
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PerformanceReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PerformanceReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PerformanceReport
impl Serialize for PerformanceReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PerformanceReport
impl RefUnwindSafe for PerformanceReport
impl Send for PerformanceReport
impl Sync for PerformanceReport
impl Unpin for PerformanceReport
impl UnwindSafe for PerformanceReport
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more