pub struct HashStabilityReport {
pub measurements: Vec<CommitPairMeasurement>,
}Expand description
Result of measuring hash stability across git commits.
Fields§
§measurements: Vec<CommitPairMeasurement>Per-commit-pair measurements.
Implementations§
Source§impl HashStabilityReport
impl HashStabilityReport
Sourcepub fn avg_hit_rate(&self) -> f64
pub fn avg_hit_rate(&self) -> f64
Average cache hit rate across all commit pairs.
Sourcepub fn min_hit_rate(&self) -> f64
pub fn min_hit_rate(&self) -> f64
Minimum cache hit rate observed.
Sourcepub fn max_hit_rate(&self) -> f64
pub fn max_hit_rate(&self) -> f64
Maximum cache hit rate observed.
Trait Implementations§
Source§impl Clone for HashStabilityReport
impl Clone for HashStabilityReport
Source§fn clone(&self) -> HashStabilityReport
fn clone(&self) -> HashStabilityReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HashStabilityReport
impl RefUnwindSafe for HashStabilityReport
impl Send for HashStabilityReport
impl Sync for HashStabilityReport
impl Unpin for HashStabilityReport
impl UnsafeUnpin for HashStabilityReport
impl UnwindSafe for HashStabilityReport
Blanket Implementations§
impl<T> Allocation for T
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