pub struct SlotTableDebugStats {Show 34 fields
pub group_count: usize,
pub group_capacity: usize,
pub group_record_size: usize,
pub group_heap_bytes: usize,
pub payload_count: usize,
pub payload_capacity: usize,
pub active_payload_anchor_count: usize,
pub payload_anchor_slot_count: usize,
pub detached_payload_anchor_count: usize,
pub invalidated_payload_anchor_count: usize,
pub free_payload_anchor_count: usize,
pub payload_anchor_capacity: usize,
pub payload_anchor_heap_bytes: usize,
pub node_count: usize,
pub node_capacity: usize,
pub pending_drop_count: usize,
pub pending_drop_capacity: usize,
pub active_anchor_count: usize,
pub anchor_slot_count: usize,
pub anchor_sparse_count: usize,
pub detached_anchor_count: usize,
pub invalidated_anchor_count: usize,
pub free_anchor_count: usize,
pub anchor_capacity: usize,
pub anchor_heap_bytes: usize,
pub retained_subtree_count: usize,
pub retained_group_count: usize,
pub retained_payload_count: usize,
pub retained_node_count: usize,
pub retained_scope_count: usize,
pub retained_anchor_count: usize,
pub retained_heap_bytes: usize,
pub retained_evictions_total: usize,
pub mutation: SlotTableMutationDebugStats,
}Expand description
Combined size and count figures for a slot table: the table’s own figures, its pending drops and its retained subtrees. Counts are in items and sizes are in bytes.
Fields§
§group_count: usizeGroups stored in the table.
group_capacity: usizeGroups the group vector holds before it reallocates.
group_record_size: usizeSize of one group record in bytes.
group_heap_bytes: usizeHeap bytes reserved for group records.
payload_count: usizePayload slots stored across all groups.
payload_capacity: usizePayload slots the payload store holds before it reallocates.
active_payload_anchor_count: usizePayload anchors that point at a live payload.
payload_anchor_slot_count: usizeEntries in the payload anchor registry in any state.
detached_payload_anchor_count: usizePayload anchors whose payload is detached from the table.
invalidated_payload_anchor_count: usizePayload anchor entries that no longer resolve to a payload.
free_payload_anchor_count: usizePayload anchor ids free for reuse.
payload_anchor_capacity: usizePayload anchor entries the registry holds before it reallocates.
payload_anchor_heap_bytes: usizeHeap bytes reserved by the payload anchor registry.
node_count: usizeNodes stored across all groups.
node_capacity: usizeNodes the node storage holds before it reallocates.
pending_drop_count: usizeRemoved values waiting for their deferred drop.
pending_drop_capacity: usizeValues the pending drop queue holds before it reallocates.
active_anchor_count: usizeGroup anchors that point at a live group.
anchor_slot_count: usizeEntries in the group anchor registry in any state.
anchor_sparse_count: usizeAnchor entries kept in the sparse map instead of the dense vector.
detached_anchor_count: usizeGroup anchors whose group is detached from the table.
invalidated_anchor_count: usizeGroup anchor entries that no longer resolve to a group.
free_anchor_count: usizeGroup anchor ids free for reuse.
anchor_capacity: usizeAnchor entries the registry holds before it reallocates.
anchor_heap_bytes: usizeHeap bytes reserved by the group anchor registry.
retained_subtree_count: usizeSubtrees currently retained.
retained_group_count: usizeGroups inside retained subtrees.
retained_payload_count: usizePayload slots inside retained subtrees.
retained_node_count: usizeNodes inside retained subtrees.
retained_scope_count: usizeRecompose scopes inside retained subtrees.
retained_anchor_count: usizeGroup anchors held by retained subtrees.
retained_heap_bytes: usizeHeap bytes held by retained subtrees.
retained_evictions_total: usizeSubtrees dropped from retention since the composition started.
mutation: SlotTableMutationDebugStatsCounters for subtree moves and index refreshes.