pub fn set_profile_enabled(enabled: bool)Expand description
Enable or disable the scanner’s detailed diagnostic profile collector.
This library API enables fixed stages and expensive per-pattern diagnostics
together. The CLI uses it only for --perf-trace; --profile starts a
keyhog_profile::Session directly so production profiling does not enable
per-pattern hot-path accounting.