Skip to main content

relevant

Function relevant 

Source
pub fn relevant(baseline: &[Record], current: &[Record]) -> Vec<Record>
Expand description

The part of a baseline this run is compared against: the series this run measured, on this run’s runner class.

A baseline outlives the run that saved it, so tak run --bench a against one saved by a full run would otherwise list every other benchmark as “measured on the base but not here”. That warning exists for a CI job that silently stopped running something; here it would only be noise. The same goes for the series a baseline holds for other runner classes: they are not comparable, and not missing either. When one of them is all the baseline has for a benchmark, other_runners names it in a warning and gaps keeps --gate from passing over it.