pub struct PerformanceAnalysis {
pub avg_execution_time: f64,
pub execution_time_percentiles: HashMap<u8, f64>,
pub avg_memory_usage: f64,
pub peak_memory_usage: f64,
pub avg_throughput: f64,
pub stage_breakdown: HashMap<String, StagePerformance>,
pub trends: PerformanceTrends,
}Expand description
Performance analysis results
Fields§
§avg_execution_time: f64Average execution time
execution_time_percentiles: HashMap<u8, f64>Execution time percentiles
avg_memory_usage: f64Average memory usage
peak_memory_usage: f64Peak memory usage
avg_throughput: f64Average throughput
stage_breakdown: HashMap<String, StagePerformance>Stage performance breakdown
trends: PerformanceTrendsPerformance trends
Trait Implementations§
Source§impl Clone for PerformanceAnalysis
impl Clone for PerformanceAnalysis
Source§fn clone(&self) -> PerformanceAnalysis
fn clone(&self) -> PerformanceAnalysis
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 moreAuto Trait Implementations§
impl Freeze for PerformanceAnalysis
impl RefUnwindSafe for PerformanceAnalysis
impl Send for PerformanceAnalysis
impl Sync for PerformanceAnalysis
impl Unpin for PerformanceAnalysis
impl UnwindSafe for PerformanceAnalysis
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> 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