Semantic Diff

#9253 Compare the compiler's allocations with the base branch in CI

2 commits

827be160cce2386954ea3cf27d3c106540cb2bf6..pr-9253

4e9aa3e05 · cknitt + Claude · Nov 07, 2026, 07:17 UTC

Compare the compiler's allocations with the base branch in CI

Timings on shared runners are too noisy to alert on, which is why the previous benchmark job was removed. The words the compiler allocates are the same in every run, so a new job measures them for the base branch and the pull request, fails when a benchmark allocates more than 1% more, and comments the comparison on the pull request.

The syntax benchmarks and make bench are removed; the comparison parses and formats their files with bsc, from tests/alloc_benchmarks/data.

5cb1f057b · cknitt + Claude · Nov 07, 2026, 07:29 UTC

Fold all but the 10 largest benchmark changes away

A change that affects every benchmark made a table of up to 40 rows and left the others out. The table now shows the 10 largest changes, and the others are in a collapsed section under it.