Skip to content

Measure the compile bench's baseline again on spec v0.54.4's corpus - #611

Merged
jasperblues merged 4 commits into
mainfrom
compile-baseline-0544
Dec 2, 2026
Merged

jasperblues merged 4 commits into
mainfrom
compile-baseline-0544

Conversation

@jasperblues

@jasperblues jasperblues commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

tests/bench/compile-baseline.json was measured on spec v0.50's corpus, 5,563 to 5,599 statements a store. Spec v0.54.4's is 6,064 on Postgres, 6,052 on SQLite and 6,042 on Oracle. The uncached p99 is over each store's statements, so it was another set's. The new baseline is CI's own run of main at 9a5fb8d (run 46857355548, AMD EPYC 7763, 5 runs a statement), unchanged.

Store Statements Uncached median / p99, before → after (ms) First compile, before → after (ms)
Postgres 5,563 → 6,064 0.688 / 12.851 → 0.649 / 10.349 55.487 → 53.719
SQLite 5,599 → 6,052 0.734 / 13.263 → 0.687 / 12.62 39.35 → 39.558
Oracle 5,589 → 6,042 1.041 / 26.997 → 0.967 / 25.521 40.179 → 38.977

The three CI runs on this corpus whose results are kept pass against it, checked with the gate's own regressions: runs 46828242216 (Intel Xeon Platinum 8573C), 46847705769 and 46857355548 (AMD EPYC 7763).

It doesn't make the gate steady across runners. A run on an AMD EPYC 9V74 failed #608 on SQLite's p99, 14.846 ms: 12% over the old baseline and 18% over this one. The two EPYC 7763 runs also differed by 11% on it (11.403 and 12.62 ms), against the gate's 10%. Timed in turn on one machine, compiler 0.54.2 and 0.54.4 over this corpus gave SQLite's p99 7% lower on 0.54.4, so that failure was the runner. The import is already gated against main timed in turn on the same runner (#496); doing the same for compile would take the runner out of it. That is for a change of its own.

The workflow's, the build doc's and the bench's own words for the baseline said it was the compiler Drivine had before the shared one, which it hasn't been since #518 took it again on v0.50's corpus; they now say what it is. They also say it is taken again for a change that moves the corpus, not for one that moves only the compiler, as the bench is there to hold the compiler's time.

Review: 4 passes, last CLEAN.

  • Pass 1 fixed: the body said every CI run on this corpus passes, where one on an AMD EPYC 9V74 doesn't; and four places still called the baseline the compiler Drivine had before the shared one.
  • Pass 2 fixed: the texts named different triggers for taking the baseline again; now a moved corpus, not a moved compiler. And a circular reason for keeping the cached column.
  • Pass 3 fixed: a comment's wrapping, and a phrase in the body.

@jasperblues
jasperblues merged commit 5aefa1d into main Dec 2, 2026
16 checks passed
@github-actions github-actions Bot mentioned this pull request Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant