Repository navigation
Season 2 leaders (3/3): the client-WASM leader's stack - #3
Merged
Merged
Conversation
The client-WASM leader's whole stack merged into the other two, without the harness patches; the merge question on the shared concurrent MSM gate resolved (the rollup stack's gate, not slower for AVM); and a client test made to compile on x86 (-Wconversion). Squashed from the PR's 98 commits (each original patch with its author; they stay on the PR's page). Co-authored-by: bench <bench@local> Co-authored-by: iAmMichaelConnor <mike@aztec.foundation> Co-authored-by: opt <a@b> Co-authored-by: Golf Research <golf@invalid> Co-authored-by: Astra Ideator 1 <astra-ideator1@codex.invalid> Co-authored-by: Golf Research <golf-research@example.invalid> Co-authored-by: alejoamiras <alejo.amiras@gmail.com>
asterite
force-pushed
the
leaders/client-wasm
branch
from
November 27, 2026 00:14
af0705e to
e4f9c23
Compare
asterite
added a commit
that referenced
this pull request
Nov 27, 2026
A workflow_dispatch workflow (bench.yml) that builds bb, bb-avm and the UltraHonk micro-benchmark at each point of .github/bench/points.json (v6.1.0, then PRs #1, #2 and #3), and times every point on the same hosted runner, taking turns, per column: aztec-packages' pinned Chonk flows, its micro-benchmark, and the rollup and AVM inputs of the bench-inputs-v6.1.0 release asset. Fastest of 3 runs, highest peak RSS; each point's proofs are checked by the original bb. A dispatched run publishes data.json, a page and aztec-packages style bench JSON per point to gh-pages. A pull request that changes the benchmarks runs them without publishing.
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.
The last of three PRs bringing in the season 2 leaders. This one merges the client-WASM leader's whole stack: its
original commits, each with its own author and message, the merge commit, and three small commits on top.
How it was checked
The client-WASM stack alone was run as one series on our benchmark runner (season 2, bb v6.1.0): byte-identical
proofs (fixed seed, public and holdout inputs), verified where they can be, and bb's unit tests on the x86 machine; on
the WASM machine (bb.js in Node, 8 CPUs), client proving time −29.9% and peak RAM −2.0% versus bb 6.1.0.
The final combination (all three stacks, what
mainbecomes with this PR) was also run as one series on theAWS c7i.16xlarge: byte-identical proofs on every input, verified where they can be, bb's unit tests passing. Time
versus bb 6.1.0: AVM −86.2%, rollup −65.1%, client −61.2%. Peak RAM: AVM −27.3%, rollup −20.4%, client +9.5%.
Checked: this PR's result is exactly that tree, minus the 7 files the runner's harness touches, plus the three commits
below.
The merge
The client stack shares the cumulative stack's early patches; what it adds is mostly WASM-only (SIMD folds, packed
sumcheck edges, the thread pool's spin bound, the full-width small-MSM path, release WASM flags) plus translator,
range-list and multilinear-batching work. 17 files conflicted. Where both sides changed the same code:
fold_stride4_backed_range(fold_stride2.hpp), the spin bound into the merged thread pool, the full-width branchinto
pippenger_batched.hpp, and threesumcheck_round.hppcommits replayed on the merged file. Their newparameters are defaulted; native builds take the old paths.
ultra_circuit_builder.cpp(process_range_list): the rollup stack's version, which does everything the client'sdoes and more; the client's new test passes against it.
-O2 -fno-vectorize.gemini.hpp,uintx,bigfield.hpp,sumcheck.hppandtrace_to_polynomials.cpp(later stages of the same work).The commits on top
Mark the merge question on the shared concurrent MSM gate, thenResolve the merge question on the shared concurrent MSM gate: the merge kept the rollup stack's gate over the AVM leader's earlier one. Measured since: AVMproving was not slower with it (−86.2% combined, −85.9% for the AVM stack alone). Comment only.
fix(test): narrowing conversions in the MSM window-skip test: a client test header that didn't compile on x86(
-Wconversionunder-Werror). The runner never compiled it, because its unit-test check built bb's originaltest files.
Not checked
machine hasn't run the combination. This release ships native binaries only.
values are drawn in production.
After this: the release,
v6.1.0-boost.1.🤖 Generated with Claude Code