Skip to content

Disable bounds check for WAMR - #22

Merged
psilva261 merged 5 commits into
masterfrom
psilva261/wamr-bounds-check
Feb 20, 2026
Merged

Disable bounds check for WAMR#22
psilva261 merged 5 commits into
masterfrom
psilva261/wamr-bounds-check

Conversation

@psilva261

@psilva261 psilva261 commented Feb 12, 2026

Copy link
Copy Markdown
Collaborator
  • Export shutdown function as workaround unclean exit issue
  • Reduces no. steps by 35%

Originally --bounds-check=1 was introduced to allow for a clean exit. Since it creates a performance penalty, here is a workaround based on an explicit shutdown call. This seems like a clean option for a quick fix, also since the languages in use do bounds checks anyway.

* Export shutdown function as workaround unclean exit issue
* Reduces no. steps by 35%
@psilva261
psilva261 force-pushed the psilva261/wamr-bounds-check branch from 26968dd to 16ed03e Compare February 12, 2026 14:21
@psilva261
psilva261 marked this pull request as ready for review February 12, 2026 14:21
@github-actions

Copy link
Copy Markdown

Benchmark Results (825e8f1)

Language native w2c2-O0 w2c2-O3 wamr wasmer wasmtime
stateless 235192341 6025861918 N/A 3526878553 949795341 867158639
reva-client-eth 387697026 4471418839 1375615326 2358970704 N/A 1027868792

@kevaundray

Copy link
Copy Markdown
Contributor

CC @marcinbugaj

@marcinbugaj

Copy link
Copy Markdown
Collaborator

LGTM

@kevaundray

Copy link
Copy Markdown
Contributor

Retrying benchmarks -- @marcinbugaj seems on average benchmarking takes about 40 minutes, do you know why?

@github-actions

Copy link
Copy Markdown

Benchmark Results (70b2865)

Language native w2c2-O0 w2c2-O3 wamr wasmer wasmtime
stateless 234643606 6025861922 N/A 3526878547 951166140 866132029
reva-client-eth 387761522 4471418835 1375615326 2358970698 N/A 1028062281

@psilva261
psilva261 merged commit d325792 into master Feb 20, 2026
1 of 3 checks passed
@psilva261
psilva261 deleted the psilva261/wamr-bounds-check branch March 30, 2026 12:11
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