KTSTR_PERF_ONLY_ENV

Constant KTSTR_PERF_ONLY_ENV 

Source
pub const KTSTR_PERF_ONLY_ENV: &str = "KTSTR_PERF_ONLY";
Expand description

Name of the environment variable that restricts a run to ONLY performance_mode tests: when set to a non-empty value, every test whose entry does not have performance_mode is skipped (skip sidecar recorded, libtest sees pass) before any VM boot. The mergebase perf-delta subcommand sets this so a regression run measures only the tests configured for clean performance numbers; an explicit nextest -E filter narrows further within the perf-mode set.

Empty = unset per the default contract, matching KTSTR_NO_PERF_MODE_ENV. The canonical reader test_support::runtime::perf_only_active (pub(crate)) uses .map(|v| !v.is_empty()).unwrap_or(false) so a stray KTSTR_PERF_ONLY= pass-through does not silently skip every non-perf test. Readers route through the helper (dispatch gauntlet + named routes in test_support/dispatch.rs and the eval entry in test_support/eval/mod.rs).