pub struct MonitoringSummary {Show 13 fields
pub session_name: String,
pub total_transformations: usize,
pub successful_transformations: usize,
pub failed_transformations: usize,
pub total_duration_ms: f64,
pub total_processing_ms: f64,
pub overhead_ms: f64,
pub average_throughput: Option<f64>,
pub total_input_elements: usize,
pub total_output_elements: usize,
pub total_memory_bytes: usize,
pub slowest_transformation: Option<String>,
pub fastest_transformation: Option<String>,
}Expand description
Monitoring summary report
Fields§
§session_name: String§total_transformations: usize§successful_transformations: usize§failed_transformations: usize§total_duration_ms: f64§total_processing_ms: f64§overhead_ms: f64§average_throughput: Option<f64>§total_input_elements: usize§total_output_elements: usize§total_memory_bytes: usize§slowest_transformation: Option<String>§fastest_transformation: Option<String>Implementations§
Source§impl MonitoringSummary
impl MonitoringSummary
Sourcepub fn efficiency(&self) -> f64
pub fn efficiency(&self) -> f64
Get efficiency percentage
Sourcepub fn is_acceptable(
&self,
min_throughput: f64,
max_overhead_percent: f64,
) -> bool
pub fn is_acceptable( &self, min_throughput: f64, max_overhead_percent: f64, ) -> bool
Check if performance is acceptable
Trait Implementations§
Source§impl Clone for MonitoringSummary
impl Clone for MonitoringSummary
Source§fn clone(&self) -> MonitoringSummary
fn clone(&self) -> MonitoringSummary
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 MonitoringSummary
impl RefUnwindSafe for MonitoringSummary
impl Send for MonitoringSummary
impl Sync for MonitoringSummary
impl Unpin for MonitoringSummary
impl UnwindSafe for MonitoringSummary
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