benchmark_baseline.ts view source
(results: BenchmarkResult[], options?: BenchmarkBaselineCompareOptions): Promise<BenchmarkBaselineComparisonResult> Compare benchmark results against the stored baseline.
results
- Current benchmark results
BenchmarkResult[]options
- Comparison options including regression threshold and staleness warning
{}returns
Promise<BenchmarkBaselineComparisonResult> Comparison result with regressions, improvements, and unchanged tasks