pub struct PerformanceReport {
pub total_runtime: Duration,
pub total_operations: usize,
pub successful_operations: usize,
pub failed_operations: usize,
pub success_rate: f64,
pub average_processing_time_ms: f64,
pub peak_memory_usage_mb: f64,
pub current_memory_usage_mb: f64,
pub error_breakdown: ErrorBreakdown,
}
Expand description
performance report
Fields§
§total_runtime: Duration
total runtime
total_operations: usize
total operations
successful_operations: usize
successful operations
failed_operations: usize
failed operations
success_rate: f64
success rate
average_processing_time_ms: f64
average processing time (ms)
peak_memory_usage_mb: f64
peak memory usage (MB)
current_memory_usage_mb: f64
current memory usage (MB)
error_breakdown: ErrorBreakdown
error breakdown
Implementations§
Source§impl PerformanceReport
impl PerformanceReport
Sourcepub fn print_detailed_report(&self)
pub fn print_detailed_report(&self)
print detailed report
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 moreAuto 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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