pub struct SelectiveJsonExportStats {
pub json_writer_stats: StreamingJsonStats,
pub total_export_time_us: u64,
pub files_processed: u32,
pub total_allocations_exported: u64,
pub total_bytes_written: u64,
pub index_cache_hits: u64,
pub index_cache_misses: u64,
pub errors_recovered: u32,
pub avg_export_throughput: f64,
pub memory_efficiency: f64,
}
Expand description
Statistics for selective JSON export operations
Fields§
§json_writer_stats: StreamingJsonStats
Statistics from streaming JSON writer
total_export_time_us: u64
Total export time in microseconds
files_processed: u32
Number of files processed
total_allocations_exported: u64
Total allocations exported
total_bytes_written: u64
Total bytes written across all files
index_cache_hits: u64
Number of index cache hits
index_cache_misses: u64
Number of index cache misses
errors_recovered: u32
Number of errors encountered and recovered
avg_export_throughput: f64
Average export throughput (allocations per second)
memory_efficiency: f64
Memory efficiency (bytes per allocation)
Implementations§
Source§impl SelectiveJsonExportStats
impl SelectiveJsonExportStats
Sourcepub fn cache_hit_rate(&self) -> f64
pub fn cache_hit_rate(&self) -> f64
Calculate overall cache hit rate
Sourcepub fn export_efficiency(&self) -> f64
pub fn export_efficiency(&self) -> f64
Calculate export efficiency (files per second)
Sourcepub fn compression_ratio(&self) -> f64
pub fn compression_ratio(&self) -> f64
Calculate compression ratio compared to full export
Trait Implementations§
Source§impl Clone for SelectiveJsonExportStats
impl Clone for SelectiveJsonExportStats
Source§fn clone(&self) -> SelectiveJsonExportStats
fn clone(&self) -> SelectiveJsonExportStats
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 SelectiveJsonExportStats
impl Debug for SelectiveJsonExportStats
Source§impl Default for SelectiveJsonExportStats
impl Default for SelectiveJsonExportStats
Source§fn default() -> SelectiveJsonExportStats
fn default() -> SelectiveJsonExportStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SelectiveJsonExportStats
impl RefUnwindSafe for SelectiveJsonExportStats
impl Send for SelectiveJsonExportStats
impl Sync for SelectiveJsonExportStats
impl Unpin for SelectiveJsonExportStats
impl UnwindSafe for SelectiveJsonExportStats
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