23 APR 2026

rahulmnavneeth

latency budget

homedocs

Target

StageTypicalTightened (distilled + zero-copy)
Camera capture → GPU4–8 ms2–3 ms
Inference5–15 ms2–5 ms
Filter + ring push<0.2 ms<0.2 ms
Audio-thread pickup≤ blocksub-block (tangent interpolation)
Glass → parameter15–25 ms8–12 ms

Below ~8 ms requires a 240 Hz camera or an event camera. Not worth pursuing until every other stage has been driven to its tightened number.

Measurement methodology

What consumes budget and what helps

Budget ownership

Each crate documents its own budget share in its reference page. Any change that regresses the per-stage budget by more than 20% requires a justification and a bench before it lands.