Expand description
Lightweight span profiler. Enabled by setting ITE_PROFILE=<output-path>;
when unset, spans cost one branch. The dump is a plain-text table.
Structs§
- Registry
- Collects labeled durations and renders a summary table.
- Span
- Times a scope and records it in
GLOBALon drop (no-op when disabled). - Stats
- Summary statistics over a set of durations.
Statics§
Functions§
- enabled
- format_
duration - Adaptive human-readable duration: ns, µs, ms, or s.
- output_
path - The output path from
ITE_PROFILE, if profiling is enabled. - span