benchmark_stats.ts view source
(a: BenchmarkStatsComparable, b: BenchmarkStatsComparable, options?: BenchmarkCompareOptions | undefined): BenchmarkComparison Compare two benchmark results for statistical significance. Uses Welch's t-test (handles unequal variances) and Cohen's d effect size.
a
- First benchmark stats (or any object with required properties)
b
- Second benchmark stats (or any object with required properties)
options?
- Comparison options
BenchmarkCompareOptions | undefinedreturns
BenchmarkComparison Comparison result with significance, effect size, and recommendation