Compare benchmark summaries between two commits
compare_commitsCompare benchmark runs between two commit SHAs to surface added/removed tests, status changes, top regressions/improvements, and a flattened fieldChanges scan for quick attention targeting.
Instructions
Diff all matching benchmark rows (matched by test+context+cloud) between a base and current commit short-sha. Reports added/removed tests, pass/fail status changes, the top N regressions/improvements for both execution-style tests (status + average_actual_cycle) and compile-style tests (rlir total_cycle + total compile_time), plus a generic fieldChanges section that flattens and ranks every numeric field found anywhere in the summary JSON blob (memory, tactic costs, dram usage, per-phase cpu time, etc.) -- use fieldChanges as a first-pass scan for what's worth attention before drilling into a specific metric. Optionally scope the comparison with test/testContains/context/cloud filters, same as list_summaries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test | No | Exact test name to filter on | |
| topN | No | How many top regressions/improvements to include per category | |
| cloud | No | Exact cloud value to filter on (e.g. 'aks') | |
| baseSha | Yes | Base commit short-sha, first 10 hex chars | |
| context | No | Exact context value to filter on (e.g. 'test-snapshot-8pe') | |
| currentSha | Yes | Current commit short-sha, first 10 hex chars | |
| testContains | No | Case-insensitive substring match on test name |