pub struct ShapeCacheRecord {
pub evaluators: u64,
pub hits: u64,
pub misses: u64,
pub insertions: u64,
pub recursion_back_edges: u64,
pub non_cacheable_results: u64,
pub peak_entries: usize,
pub estimated_peak_bytes: usize,
}Expand description
Aggregate shape-cache telemetry for one profiling session.
Fields§
§evaluators: u64Number of per-snapshot evaluators that reported cache activity.
hits: u64Lookups served from an existing memo entry.
misses: u64Lookups without an existing memo entry, including recursion back-edges.
insertions: u64Completed results admitted to the memo.
recursion_back_edges: u64Lookups that encountered the same (ShapeId, Term) on the active stack.
non_cacheable_results: u64Completed results not admitted because they depended on a back-edge.
peak_entries: usizeLargest final entry count reported by any one evaluator.
estimated_peak_bytes: usizeApproximate maximum bytes retained by any one evaluator.
Includes hash-table bucket storage and owned RDF-term string payloads, but not allocator metadata.
Trait Implementations§
Source§impl Clone for ShapeCacheRecord
impl Clone for ShapeCacheRecord
Source§fn clone(&self) -> ShapeCacheRecord
fn clone(&self) -> ShapeCacheRecord
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 moreSource§impl Debug for ShapeCacheRecord
impl Debug for ShapeCacheRecord
Source§impl Default for ShapeCacheRecord
impl Default for ShapeCacheRecord
Source§fn default() -> ShapeCacheRecord
fn default() -> ShapeCacheRecord
Returns the “default value” for a type. Read more
impl Eq for ShapeCacheRecord
Source§impl PartialEq for ShapeCacheRecord
impl PartialEq for ShapeCacheRecord
Source§fn eq(&self, other: &ShapeCacheRecord) -> bool
fn eq(&self, other: &ShapeCacheRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShapeCacheRecord
Auto Trait Implementations§
impl Freeze for ShapeCacheRecord
impl RefUnwindSafe for ShapeCacheRecord
impl Send for ShapeCacheRecord
impl Sync for ShapeCacheRecord
impl Unpin for ShapeCacheRecord
impl UnsafeUnpin for ShapeCacheRecord
impl UnwindSafe for ShapeCacheRecord
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.