Skip to main content

time_regressed

Function time_regressed 

Source
pub fn time_regressed(baseline_ms: u128, current_ms: u128) -> bool
Expand description

Whether current_ms counts as a regression against baseline_ms – see TIME_REGRESSION_RELATIVE and TIME_REGRESSION_FLOOR_MS for the margin. A run that got faster never regresses here, whatever the reason.