Skip to content

fix: disable asserts in wasm builds#15922

Merged
johnathan79717 merged 1 commit into
merge-train/barretenbergfrom
jh/disable-asserts-in-wasm
Jul 23, 2025
Merged

fix: disable asserts in wasm builds#15922
johnathan79717 merged 1 commit into
merge-train/barretenbergfrom
jh/disable-asserts-in-wasm

Conversation

@johnathan79717

@johnathan79717 johnathan79717 commented Jul 23, 2025

Copy link
Copy Markdown
Contributor

#15671 regressed wasm performance by 5.5%, so this PR disables them in wasm.

Ran on the benchmark machine via scripts/benchmark_remote.sh client_ivc_bench '/bin/time -v ../scripts/wasmtime.sh client_ivc_bench --benchmark_filter=ClientIVCBench/Full/6' wasm-threads build-wasm-threads

This branch:

Runtime Peak Memory
80,501 ms 2,868,200 kbs
80,092 ms 2,290,660 kbs
79,490 ms 2,290,560 kbs

Merge train:

Runtime Peak Memory
85,167 ms 2,839,172 kbs
85,105 ms 2,291,284 kbs
84,510 ms 2,291,548 kbs

@johnathan79717 johnathan79717 requested a review from ludamad July 23, 2025 15:51
@johnathan79717 johnathan79717 self-assigned this Jul 23, 2025
@johnathan79717 johnathan79717 marked this pull request as ready for review July 23, 2025 16:31
@johnathan79717 johnathan79717 merged commit 52bad7f into merge-train/barretenberg Jul 23, 2025
8 checks passed
@johnathan79717 johnathan79717 deleted the jh/disable-asserts-in-wasm branch July 23, 2025 16:57
github-merge-queue Bot pushed a commit that referenced this pull request Jul 24, 2025
See
[merge-train-readme.md](https://github.com/AztecProtocol/aztec-packages/blob/next/.github/workflows/merge-train-readme.md).

BEGIN_COMMIT_OVERRIDE
chore: Update `UltraVerifier` api to return public inputs in the case of
a MegaFlavor (#15868)
chore: byte array audit (#15723)
feat: update vk in test_civc_standalone_vks_havent_changed.sh via `bb
check --update_inputs` (#15840)
fix: disable asserts in wasm builds (#15922)
chore: simplifying Honk VK length constants (#15895)
chore!: update Aztec structured trace sizes (#15929)
feat: hiding circuit in noir (#15704)
END_COMMIT_OVERRIDE

---------

Co-authored-by: AztecBot <tech@aztecprotocol.com>
Co-authored-by: federicobarbacovi <171914500+federicobarbacovi@users.noreply.github.com>
Co-authored-by: ledwards2225 <98505400+ledwards2225@users.noreply.github.com>
Co-authored-by: sergei iakovenko <105737703+iakovenkos@users.noreply.github.com>
Co-authored-by: Jonathan Hao <jonathan@aztec-labs.com>
Co-authored-by: Khashayar Barooti <khashayar@aztecprotocol.com>
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.

3 participants