Conversation
vezenovm
marked this pull request as ready for review
September 18, 2026 16:06
vezenovm
added this pull request to stack #256
September 18, 2026 16:06
|
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
vezenovm
force-pushed
the
mv/sponge-shm-bench
branch
from
September 18, 2026 17:50
56c0f34 to
9cc2fa0
Compare
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.
Opt-in sponge benchmark stacked on #195. Benchmark-only changes; no production or recurring CI changes.
Batching versus transport
SHM does not make batching redundant: #195 still improves sync SHM performance by 1.83–2.43× for 30+ fields. These results support #195 independently; switching transports after batching has mixed benefits.
Results
Median milliseconds per complete operation. Batching = old/new within a backend. New vs UDS = UDS new / SHM new; >1× means SHM is faster, <1× slower.
Native sync SHM (primary)
Native UDS
Native async SHM
In-process sync Wasm
Measurement method
6.0.0-nightly.20260916.Raw samples, quartiles and environment · Full methodology
Reproduce
From
yarn-project, after installing dependencies and building:SPONGE_BENCH=1 JEST_MAX_WORKERS=1 yarn workspace @aztec-labs/blob-lib test src/sponge_blob.bench.test.tsValidation: all four backends agree on chunk states and final hashes across 20 cases. Existing tests passed before/after; full workspace build, formatting and lint passed.