Skip to main content

Module perf

Module perf 

Source
Expand description

Developer-facing performance profiling helpers.

The profile surface is intentionally env-gated so the public CLI stays focused. HEDDLE_PROFILE=1 writes human-readable timings to stderr, while HEDDLE_PROFILE=jsonl writes one structured trace line to stderr. stdout remains reserved for normal text/JSON command output.

Structs§

ProfileField
ProfileMetricValue
ProfilePhaseRecord
ProfileTraceRecord

Enums§

ProfileMetricUnit
ProfileMode

Functions§

emit_command_profile
emit_profile
profile_enabled
profile_mode