pub struct PerformanceReport { /* private fields */ }Expand description
Standard performance benchmark report template
Implementations§
Source§impl PerformanceReport
impl PerformanceReport
Sourcepub fn add_context(self, context: impl Into<String>) -> Self
pub fn add_context(self, context: impl Into<String>) -> Self
Add context description
Sourcepub fn include_statistical_analysis(self, include: bool) -> Self
pub fn include_statistical_analysis(self, include: bool) -> Self
Enable or disable statistical analysis section
Sourcepub fn include_regression_analysis(self, include: bool) -> Self
pub fn include_regression_analysis(self, include: bool) -> Self
Enable or disable regression analysis section
Sourcepub fn add_custom_section(self, section: CustomSection) -> Self
pub fn add_custom_section(self, section: CustomSection) -> Self
Add custom section to the report
Sourcepub fn with_historical_data(self, historical: HistoricalResults) -> Self
pub fn with_historical_data(self, historical: HistoricalResults) -> Self
Set historical data for regression analysis
Trait Implementations§
Source§impl Clone for PerformanceReport
impl Clone for PerformanceReport
Source§fn clone(&self) -> PerformanceReport
fn clone(&self) -> PerformanceReport
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 PerformanceReport
impl Debug for PerformanceReport
Source§impl Default for PerformanceReport
impl Default for PerformanceReport
Source§impl ReportTemplate for PerformanceReport
impl ReportTemplate for PerformanceReport
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