pub struct BatchProcessingStats {
pub queue_wait_time_ms: u64,
pub processing_time_ms: u64,
pub peak_memory_usage_mb: f64,
pub cpu_utilization_percent: f64,
pub throughput_ops_per_second: f64,
pub optimizations_applied: Vec<String>,
}Expand description
Processing statistics for a batch
Fields§
§queue_wait_time_ms: u64Queue wait time
processing_time_ms: u64Actual processing time
peak_memory_usage_mb: f64Memory usage during processing
cpu_utilization_percent: f64CPU utilization during processing
throughput_ops_per_second: f64Throughput (operations per second)
optimizations_applied: Vec<String>Optimization metrics
Trait Implementations§
Source§impl Clone for BatchProcessingStats
impl Clone for BatchProcessingStats
Source§fn clone(&self) -> BatchProcessingStats
fn clone(&self) -> BatchProcessingStats
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 BatchProcessingStats
impl Debug for BatchProcessingStats
Source§impl<'de> Deserialize<'de> for BatchProcessingStats
impl<'de> Deserialize<'de> for BatchProcessingStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BatchProcessingStats
impl RefUnwindSafe for BatchProcessingStats
impl Send for BatchProcessingStats
impl Sync for BatchProcessingStats
impl Unpin for BatchProcessingStats
impl UnwindSafe for BatchProcessingStats
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