pub struct IncrementalStats {
pub full_scans: u64,
pub incremental_scans: u64,
pub total_evaluated: u64,
pub total_pruned: u64,
}Expand description
Diagnostics for incremental scoring performance.
Fields§
§full_scans: u64Number of full rescans performed.
incremental_scans: u64Number of incremental (pruned) scans performed.
total_evaluated: u64Total items evaluated across all scans.
total_pruned: u64Total items pruned (skipped) across incremental scans.
Implementations§
Source§impl IncrementalStats
impl IncrementalStats
Sourcepub fn prune_ratio(&self) -> f64
pub fn prune_ratio(&self) -> f64
Fraction of evaluations saved by incremental scoring.
Trait Implementations§
Source§impl Clone for IncrementalStats
impl Clone for IncrementalStats
Source§fn clone(&self) -> IncrementalStats
fn clone(&self) -> IncrementalStats
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 IncrementalStats
impl Debug for IncrementalStats
Source§impl Default for IncrementalStats
impl Default for IncrementalStats
Source§fn default() -> IncrementalStats
fn default() -> IncrementalStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IncrementalStats
impl RefUnwindSafe for IncrementalStats
impl Send for IncrementalStats
impl Sync for IncrementalStats
impl Unpin for IncrementalStats
impl UnsafeUnpin for IncrementalStats
impl UnwindSafe for IncrementalStats
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