Skip to main content

Module timing

Module timing 

Source
Expand description

Opt-in, stderr-only phase timing for performance diagnosis.

DECIDED_TIMING is deliberately outside every output/parity contract. When it is unset these helpers do not read clocks and emit nothing. Timing lines do not contain paths, queries, identifiers, or document content.

Constants§

ENV

Functions§

emit
Emit one stable operation record. Counter names and order are caller-owned constants; values are numeric so no corpus or query material can leak.
emit_since
enabled
start
Start an operation without touching the monotonic clock when timing is off.