Skip to main content

Module compare

Module compare 

Source
Expand description

Distribution comparison: “is candidate slower than baseline?” Behind the compare Cargo feature (on by default).

Functions§

cohens_d
Cohen’s d effect size: standardised difference between two means. Magnitude < 0.2 is small, ~ 0.5 medium, > 0.8 large. Use alongside ks_statistic to decide whether a p99 regression is “real” or noise.
ks_statistic
Two-sample Kolmogorov-Smirnov D statistic: the maximum vertical gap between the two empirical CDFs. Range [0.0, 1.0]; larger means more different. None if either side is empty.