pub struct PerformanceStats {
pub bytes_processed: u64,
pub total_parse_time: Duration,
pub files_processed: usize,
pub objects_parsed: usize,
pub peak_memory_bytes: u64,
pub throughput_mbps: f64,
pub objects_per_second: f64,
pub cache_hit_rate: f64,
}Expand description
Performance statistics snapshot
Fields§
§bytes_processed: u64§total_parse_time: Duration§files_processed: usize§objects_parsed: usize§peak_memory_bytes: u64§throughput_mbps: f64§objects_per_second: f64§cache_hit_rate: f64Trait Implementations§
Source§impl Clone for PerformanceStats
impl Clone for PerformanceStats
Source§fn clone(&self) -> PerformanceStats
fn clone(&self) -> PerformanceStats
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 PerformanceStats
impl Debug for PerformanceStats
Source§impl<'de> Deserialize<'de> for PerformanceStats
impl<'de> Deserialize<'de> for PerformanceStats
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 PerformanceStats
impl RefUnwindSafe for PerformanceStats
impl Send for PerformanceStats
impl Sync for PerformanceStats
impl Unpin for PerformanceStats
impl UnwindSafe for PerformanceStats
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