Repository navigation
compare: pin ubuntu-24.04, and refresh the comparison counts (run 45540985569) - #122
Merged
Merged
Conversation
The comparison run on main (run 45528691636) failed in all three engines' jobs at the first QEMU call, with no message. ubuntu-latest is now Ubuntu 26.04, whose qemu-system-arm 10.2.1 loads plugins of API version 2 or later (plugins/plugin.h, QEMU_PLUGIN_MIN_VERSION); the counting plugin is built against QEMU 8.2.2's pinned header, API version 1, so QEMU refused it. The out=$(...) assignment then ended the step under bash -e before the check that prints QEMU's output could run. - runs-on: ubuntu-24.04, as ci.yml's ratchet pins it for the same reason (the counts are a function of the apt toolchain, the plugin build and QEMU). The recorded counts were measured there too: compare_counts.json names qemu-system-arm 8.2.2 and arm-none-eabi-gcc 13.2 on ubuntu24. - The M55/M33 and Hexagon loops take QEMU's exit status with || true, so a refused plugin or a crashed guest reaches the existing ICOUNT_DONE check, which prints QEMU's output and the binary's name. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016GKzq1VSdcMYCRMhddiMaf
Each engine's bench/compare_counts.json is the record compare.yml uploaded in run 45540985569 on f1816cc (DspTap 4b30a02, 2026-11-25), each artifact checked against its digest, on the toolchain the previous record (run 38013347369, 2026-10-10) used: arm-none-eabi-gcc 13.2, qemu-system-arm 8.2.2 on ubuntu24, hexagon-clang 19.1.5 and qemu-hexagon 8.2.2. scripts/update_compare_docs.py regenerated the three COMPARISON.md blocks. What moved: - The competitors did not, beyond start-up: every libsamplerate, r8brain and SpeexDSP count is the same on the M33 and M55, and on Hexagon each binary runs a constant 25 (async, bridge) or 36 (rational) more at 2 s and at 4 s alike, so steady state is unchanged and construction moves by that constant. - Our rows went down (whole-binary counts): async 0.1-1.9 % in float and 0.3-3.4 % in Q15, bridge up to 1.3 % in float and 4.6 % in Q15 (a few M33 rows +0.1 %), rational 0.6-21 % in float and 3.9-41 % in Q15, the largest at economy, since X17's re-tuned designer and A13. The prose outside the blocks that restates those figures is recomputed from the new tables: async/docs/COMPARISON.md (SpeexDSP's multiples, the landscape row), bridge/docs/COMPARISON.md (the Q15 figures), rational's (the Q15 ranges and multiples, the float multiples against r8brain, libsamplerate and SpeexDSP, the design sizes now 39 / 59 taps at economy and 99 / 149 at transparent), the family docs/COMPARISON.md and the book's two-crystals chapter (849 instructions per frame, ~58x). rational's note on stale tables now names only the host wall-clock table, which compare.yml does not measure and which still predates X17. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016GKzq1VSdcMYCRMhddiMaf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Two commits.
1.
compare.ymlruns onubuntu-24.04, and a QEMU failure now prints why.ci.yml's ratchet, which pins the image for the same reason: the counts are a function of the apt toolchain, the plugin build and QEMU.|| true. A refused plugin or a crashed guest now reaches the existingICOUNT_DONEcheck, which prints QEMU's output and the binary's name.2. The counts of run 45540985569 on
f1816cc(DspTap4b30a02, 2026-11-25), and the prose that cites them.bench/compare_counts.jsonis that run's artifact, checked against its digest.scripts/update_compare_docs.pyregenerated the threeCOMPARISON.mdblocks.async/docs/COMPARISON.md: SpeexDSP's multiples and the landscape row.bridge/docs/COMPARISON.md: the Q15 figures.rational/docs/COMPARISON.md: the Q15 ranges and multiples, and the float multiples against r8brain, libsamplerate and SpeexDSP. Also the design sizes: 39 / 59 taps ateconomyand 99 / 149 attransparent.docs/COMPARISON.md.compare.ymldoes not measure it, and it still predates X17.Why
Before this PR, the comparison doc's embedded counts predated X-a2 (X17's re-tuned designer). The first re-run on
main(run 45528691636) failed in all three engines' jobs at the first QEMU call, with no message:ubuntu-latestis now Ubuntu 26.04, whoseqemu-system-arm10.2.1 loads only plugins of API version 2 or later (plugins/plugin.h,QEMU_PLUGIN_MIN_VERSION 2).out=$(...)assignment then ended the step underbash -ebefore the check that prints QEMU's output could run.Verification
The run on this branch at
f1816cc: all three jobs green, 140 binaries (async 20, bridge 40, rational 80) on each of the M55, M33 and Hexagon.Same toolchain as the previous record (run 38013347369, 2026-10-10): arm-none-eabi-gcc 13.2, qemu-system-arm 8.2.2 on ubuntu24, hexagon-clang 19.1.5 and qemu-hexagon 8.2.2.
Competitors are unchanged beyond start-up.
Our rows went down (whole-binary counts):
transparentby 2 the most)The rational drops follow X17 and A13.
Local checks:
scripts/update_compare_docs.pyis stable on the committed records: a second run changes nothing, which is whatci.yml'scompare-docsgate checks.scripts/check_retired_words.pyis clean.taps()/macs_per_output()of the four stages).Not run locally: the mdBook build, because mdbook isn't installed here. CI builds it.
Notes for the reviewer
transparentby 2 (−19 to −21 %). The body above is correct. I could not amend the message without a force push.🤖 Generated with Claude Code
https://claude.ai/code/session_016GKzq1VSdcMYCRMhddiMaf