pub struct PerformanceMetrics {
pub total_duration: Duration,
pub empty_run_duration: Option<Duration>,
pub packetization_duration: Option<Duration>,
pub files_processed: usize,
pub memory_stats: MemoryStats,
pub timing_percentiles: HashMap<String, TimingPercentiles>,
}Expand description
Performance metrics for benchmarking (NFR1)
Fields§
§total_duration: DurationTotal execution time
empty_run_duration: Option<Duration>Empty run time (no Claude calls)
packetization_duration: Option<Duration>Packetization time
files_processed: usizeNumber of files processed during packetization
memory_stats: MemoryStatsMemory usage statistics
timing_percentiles: HashMap<String, TimingPercentiles>Timing percentiles for key operations
Trait Implementations§
Source§impl Clone for PerformanceMetrics
impl Clone for PerformanceMetrics
Source§fn clone(&self) -> PerformanceMetrics
fn clone(&self) -> PerformanceMetrics
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 PerformanceMetrics
impl RefUnwindSafe for PerformanceMetrics
impl Send for PerformanceMetrics
impl Sync for PerformanceMetrics
impl Unpin for PerformanceMetrics
impl UnsafeUnpin for PerformanceMetrics
impl UnwindSafe for PerformanceMetrics
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