pub struct PerformanceStats {
pub total_time_ms: u64,
pub discovery_time_ms: u64,
pub loading_time_ms: u64,
pub normalization_time_ms: u64,
pub integration_time_ms: u64,
pub template_time_ms: u64,
pub files_processed: usize,
pub data_size_bytes: usize,
pub peak_memory_bytes: usize,
pub error_count: usize,
pub warning_count: usize,
}
Expand description
Performance statistics
Fields§
§total_time_ms: u64
Total processing time
discovery_time_ms: u64
File discovery time
loading_time_ms: u64
File loading time
normalization_time_ms: u64
Data normalization time
integration_time_ms: u64
Data integration time
template_time_ms: u64
Template generation time
files_processed: usize
Number of files processed
data_size_bytes: usize
Total data size processed
peak_memory_bytes: usize
Memory peak usage
error_count: usize
Number of errors encountered
warning_count: usize
Number of warnings
Implementations§
Source§impl PerformanceStats
impl PerformanceStats
Sourcepub fn get_throughput_mb_per_sec(&self) -> f64
pub fn get_throughput_mb_per_sec(&self) -> f64
Calculate throughput in MB/s
Sourcepub fn get_efficiency_score(&self) -> f64
pub fn get_efficiency_score(&self) -> f64
Get processing efficiency score (0-100)
Trait 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 Default for PerformanceStats
impl Default for PerformanceStats
Source§fn default() -> PerformanceStats
fn default() -> PerformanceStats
Returns the “default value” for a type. 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
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