pub struct StoreReads {
pub hops: u64,
pub neighbor_walks: u64,
pub node_reads: u64,
}Expand description
The store-read mix a clause’s arm performed (LABS-369): the kinds the
single Db Hits total blends. A Rows=103 operator that spent 300k
relationship hops and 0 node reads is a different animal from one that
read 103 nodes — the one-glance diagnosis for the scan-turned-traversal
family. Merged across one streamed stage’s PROFILE windows
(profile_chain.rs): the stage’s record is the checked sum over
its batches, minus the immediate downstream stage’s sum.
Fields§
§hops: u64Relationship hops taken.
neighbor_walks: u64Neighbors the walk traversed (counted at the adjacency walk).
node_reads: u64Node-store reads: one per candidate a node match examined (the all-nodes scan, the label scan, the index seek).
Implementations§
Source§impl StoreReads
impl StoreReads
Sourcepub fn since(self, earlier: StoreReads) -> StoreReads
pub fn since(self, earlier: StoreReads) -> StoreReads
The field-wise delta from earlier — the one spelling every
reader uses. The counters only ever increase, so a decrease
is a broken invariant: the subtraction is checked, never a
wrapped or clamped value.
Trait Implementations§
Source§impl AddAssign for StoreReads
impl AddAssign for StoreReads
Source§fn add_assign(&mut self, run: StoreReads)
fn add_assign(&mut self, run: StoreReads)
+= operation. Read moreSource§impl Clone for StoreReads
impl Clone for StoreReads
impl Copy for StoreReads
Source§impl Debug for StoreReads
impl Debug for StoreReads
Source§impl Default for StoreReads
impl Default for StoreReads
impl Eq for StoreReads
Source§impl PartialEq for StoreReads
impl PartialEq for StoreReads
impl StructuralPartialEq for StoreReads
Auto Trait Implementations§
impl Forget for StoreReads
impl Freeze for StoreReads
impl Move for StoreReads
impl RefUnwindSafe for StoreReads
impl Send for StoreReads
impl Sync for StoreReads
impl Unpin for StoreReads
impl UnsafeUnpin for StoreReads
impl UnwindSafe for StoreReads
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
key and return true if they are equal.