Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comparing Interpreter performance with Wasm3 #312

Closed
jserv opened this issue Dec 29, 2023 · 1 comment
Closed

Comparing Interpreter performance with Wasm3 #312

jserv opened this issue Dec 29, 2023 · 1 comment
Assignees

Comments

@jserv
Copy link
Contributor

jserv commented Dec 29, 2023

Although there have been improvements in the performance of RISC-V instruction interpretation, the reasons why wasm3 outperforms in certain performance metrics, such as CoreMark, remain unclear.

Tested on AMD Ryzen Threadripper 2990WX 32-Core Processor:

Comparing a WebAssembly runtime with a RISC-V instruction set simulator isn't straightforward, especially when the same program is compiled for these two distinct architectures. The key difference lies in their virtual machine designs: WebAssembly is stack-based, whereas RISC-V operates on a register-based system. Despite these differences, comparing interpreters is still valuable as it can uncover optimization opportunities for our simulator, particularly in interpreter design. Therefore, analyzing the performance of existing interpreters remains a meaningful exercise.

Action Items:

  • Investigate and compare the interpreter behavior between rv32emu and wasm3.
  • Identify areas for potential performance improvement.
@jserv
Copy link
Contributor Author

jserv commented Sep 14, 2024

Superseded by #288

@jserv jserv closed this as completed Sep 14, 2024
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

No branches or pull requests

2 participants