pub struct PerformanceReport {
pub total_benchmarks: usize,
pub regression_count: usize,
pub improvement_count: usize,
pub memory_regression_count: usize,
pub overall_status: PerformanceStatus,
pub regressions: Vec<BenchmarkComparison>,
pub improvements: Vec<BenchmarkComparison>,
pub memory_regressions: Vec<BenchmarkComparison>,
}Expand description
Comprehensive performance report
Fields§
§total_benchmarks: usizeTotal number of benchmarks that were run and compared
regression_count: usizeNumber of benchmarks with a detected performance regression
improvement_count: usizeNumber of benchmarks showing a measurable performance improvement
memory_regression_count: usizeNumber of benchmarks with a detected memory usage regression
overall_status: PerformanceStatusAggregate pass/fail/warning status for the entire test run
regressions: Vec<BenchmarkComparison>Details of each benchmark with a detected regression
improvements: Vec<BenchmarkComparison>Details of each benchmark with a measured improvement
memory_regressions: Vec<BenchmarkComparison>Details of each benchmark with increased memory usage
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 (const: unstable) · 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
Auto Trait Implementations§
impl Freeze for PerformanceReport
impl RefUnwindSafe for PerformanceReport
impl Send for PerformanceReport
impl Sync for PerformanceReport
impl Unpin for PerformanceReport
impl UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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