pub struct PrefixPathDiagnostics {Show 17 fields
pub retain_calls: u64,
pub input_segments: u64,
pub cursor_attempts: u64,
pub cursor_hits: u64,
pub reused_prefix_segments: u64,
pub cursor_deep_fallbacks: u64,
pub handles_created: u64,
pub handles_live: u64,
pub nodes_created: u64,
pub nodes_live: u64,
pub nodes_peak: u64,
pub pool_hits: u64,
pub pool_misses: u64,
pub pool_clears: u64,
pub flat_exports: u64,
pub flat_export_segments: u64,
pub iterator_spills: u64,
}Expand description
Thread-local, cumulative diagnostics for the representation experiment. Live counts include all owners on this thread, including external API owners; take before/after snapshots instead of resetting counters under live paths.
Fields§
§retain_calls: u64Calls to the engine pool, including empty and deep paths.
input_segments: u64Total input segments passed to the engine pool.
cursor_attempts: u64Bounded nonempty inputs for which a previous weak cursor was available. Includes attempts whose weak tail had already expired.
cursor_hits: u64Cursor attempts that reused at least one canonical prefix segment.
reused_prefix_segments: u64Prefix segments reused without a hash-table lookup.
cursor_deep_fallbacks: u64Inputs beyond the inline cursor depth; these use the original full lookup.
handles_created: u64Retained path bodies constructed, including non-Rc public values.
handles_live: u64Retained path bodies whose destructor has not run.
nodes_created: u64Prefix nodes allocated by pool and direct constructors.
nodes_live: u64Prefix nodes with a strong owner; excludes weak-only reserved storage.
nodes_peak: u64Maximum strongly live node count observed on this thread.
pool_hits: u64Pool lookups that upgraded an existing prefix node.
pool_misses: u64Pool lookups that allocated a prefix node.
pool_clears: u64Whole bounded-pool clears before new insertions.
flat_exports: u64Explicit to_vec exports; no export is cached by PrefixPath.
flat_export_segments: u64Total segment count requested by explicit flat exports.
iterator_spills: u64Borrowed iterators whose ancestry exceeded inline storage.