pub struct BatchApplyStats {Show 17 fields
pub input_mutations: usize,
pub effective_mutations: usize,
pub preprocess_input_sorted: bool,
pub entries_streamed: usize,
pub nodes_read: usize,
pub written_nodes: usize,
pub nodes_reused: usize,
pub bytes_read: usize,
pub written_bytes: usize,
pub resync_distance_entries: usize,
pub resync_distance_nodes: usize,
pub used_key_stable_fast_path: bool,
pub used_batched_value_update_path: bool,
pub parallel_width: usize,
pub parallel_tasks: usize,
pub structural_islands: usize,
pub coalesced_islands: usize,
}Expand description
Store-neutral execution stats for a batch mutation.
These counters describe tree work and write amplification before any storage-engine-specific buffering, compaction, or object layout effects.
Fields§
§input_mutations: usizeNumber of mutations supplied by the caller before preprocessing.
effective_mutations: usizeNumber of mutations left after sort/deduplication preprocessing.
preprocess_input_sorted: boolWhether the input mutation keys were already sorted before preprocessing.
entries_streamed: usizeLogical entries streamed through canonical emitters.
nodes_read: usizeContent-addressed nodes loaded by the write.
written_nodes: usizeUnique content-addressed nodes written by the write.
nodes_reused: usizeExisting content-addressed nodes reused without rewriting.
bytes_read: usizeSerialized node bytes loaded by the write.
written_bytes: usizeTotal serialized bytes for unique nodes written by the write.
resync_distance_entries: usizeEntries replayed before canonical CID resynchronization.
resync_distance_nodes: usizeNodes traversed before canonical CID resynchronization.
used_key_stable_fast_path: boolWhether a key-stability proof enabled direct value replacement.
used_batched_value_update_path: boolWhether value updates used batched canonical route hydration.
parallel_width: usizeMaximum CPU partition width actually used by an admitted leaf/island executor. Ordered store-read fan-out is reported by store metrics.
parallel_tasks: usizeNumber of logical independent CPU partitions scheduled by this write.
structural_islands: usizeNumber of structural mutation islands planned by this write.
coalesced_islands: usizeNumber of structural mutation islands coalesced before replay.
Trait Implementations§
Source§impl Clone for BatchApplyStats
impl Clone for BatchApplyStats
Source§fn clone(&self) -> BatchApplyStats
fn clone(&self) -> BatchApplyStats
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for BatchApplyStats
Source§impl Debug for BatchApplyStats
impl Debug for BatchApplyStats
Source§impl Default for BatchApplyStats
impl Default for BatchApplyStats
Source§fn default() -> BatchApplyStats
fn default() -> BatchApplyStats
impl Eq for BatchApplyStats
Source§impl PartialEq for BatchApplyStats
impl PartialEq for BatchApplyStats
impl StructuralPartialEq for BatchApplyStats
Auto Trait Implementations§
impl Freeze for BatchApplyStats
impl RefUnwindSafe for BatchApplyStats
impl Send for BatchApplyStats
impl Sync for BatchApplyStats
impl Unpin for BatchApplyStats
impl UnsafeUnpin for BatchApplyStats
impl UnwindSafe for BatchApplyStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more