pub struct HeuristicMetrics {
pub files_processed: usize,
pub processing_time_ms: u64,
pub import_graph_time_ms: u64,
pub template_detection_time_ms: u64,
pub avg_time_per_file_ms: f64,
pub cache_hit_rates: HashMap<String, f64>,
}Expand description
Performance metrics for the heuristic system
Fields§
§files_processed: usizeNumber of files processed
processing_time_ms: u64Total processing time in milliseconds
import_graph_time_ms: u64Import graph construction time
template_detection_time_ms: u64Template detection time
avg_time_per_file_ms: f64Average time per file
cache_hit_rates: HashMap<String, f64>Cache hit rates
Implementations§
Trait Implementations§
Source§impl Clone for HeuristicMetrics
impl Clone for HeuristicMetrics
Source§fn clone(&self) -> HeuristicMetrics
fn clone(&self) -> HeuristicMetrics
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 HeuristicMetrics
impl Debug for HeuristicMetrics
Auto Trait Implementations§
impl Freeze for HeuristicMetrics
impl RefUnwindSafe for HeuristicMetrics
impl Send for HeuristicMetrics
impl Sync for HeuristicMetrics
impl Unpin for HeuristicMetrics
impl UnwindSafe for HeuristicMetrics
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> 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