pub struct ReuseStats {
pub nodes_executed: u64,
pub nodes_reused: u64,
pub cache_bytes_written: u64,
}Expand description
Execution accounting for one materialization (ADR-0027). Reuse is claimed by
an execution counter, never by wall-clock: nodes_reused > 0 and a smaller
nodes_executed are the evidence that persisted work was served from disk.
Fields§
§nodes_executed: u64Nodes actually evaluated (cache misses).
nodes_reused: u64Nodes served whole from the cache (their subtrees were not traversed).
cache_bytes_written: u64Output bytes written to the cache during this materialization.
Trait Implementations§
Source§impl Clone for ReuseStats
impl Clone for ReuseStats
impl Copy for ReuseStats
Source§impl Debug for ReuseStats
impl Debug for ReuseStats
Source§impl Default for ReuseStats
impl Default for ReuseStats
impl Eq for ReuseStats
Source§impl PartialEq for ReuseStats
impl PartialEq for ReuseStats
impl StructuralPartialEq for ReuseStats
Auto Trait Implementations§
impl Freeze for ReuseStats
impl RefUnwindSafe for ReuseStats
impl Send for ReuseStats
impl Sync for ReuseStats
impl Unpin for ReuseStats
impl UnsafeUnpin for ReuseStats
impl UnwindSafe for ReuseStats
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