Skip to main content

analyze

Function analyze 

Source
pub fn analyze(walked: &[(String, Vec<Record>)], gates: &Gates) -> Detection
Expand description

Find the steps in a walk. walked is oldest first and ends at the head.

Each series is keyed on (bench, tool, runner) and only ever compared with itself. Runner is in the key because it has to be: absolute counts shift between machine classes by more than a real regression does, so a runner change must start a new series rather than read as a step.

Every threshold is the series’ own gate: a report-only benchmark is examined like any other and can never fail, and a floor (min_delta) applies to steps and drift alike.