bytecodealliance / bytecodealliance/javy

Regression in performance in statically linked modules

Open
#831 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.7k
Forks
135
Avg merge
1d 44m
Merged PRs (30d)
11

Description

https://github.com/bytecodealliance/javy/pull/793 introduced a performance regression for statically linked modules because the QuickJS context no longer loads the JS module during pre-initialization. This is unfortunately an expensive step though not enough to trigger our fuel consumption checks in tests.

Some thoughts on how to go about this are to retain the QuickJS runtime in `compile_src` by wizening when performing that step or augmenting `initialize_runtime` to also optionally load source code or bytecode.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.