ReadonlyfeaturesPer-feature sensitivity factors. Missing or 0 disables checking with zero overhead.
Optional ReadonlyheapCustom heap statistics source (programmatic configs only), overriding the built-in detection (v8 module, then Chromium's performance.memory). Return undefined to skip the memory check.
ReadonlythresholdsShared thresholds scaled by each feature factor before comparison.
Gas configuration embedded in FlowrConfig.gas.
Each entry in
featuresis a sensitivity factor for a named analysis feature (see GasFeatureKey for the recognised keys):0/ absent - disabled for that feature, zero overhead.1- normal sensitivity, thresholds in thresholds apply as-is.N- N times as sensitive, effectively divides each threshold by N.See the Gas (Resource Guard) wiki section.