Expand description
Periodic-summary report-cache hit/miss instrumentation.
Replaces per-call tracing::debug! lines in CellServerCtx::report (which
were firing thousands of times per scene load and dominated I/O).
The hot path increments per-report-id atomic counters via DashMap entry
lookup; a single dedicated thread emits one summary log line every
WINDOW_MS. Quiet windows emit nothing.
Functions§
- record_
hit - record_
hit_ after_ gate - record_
miss - start_
periodic_ logger - Spawn the summary thread. Idempotent.