-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve JavaScript performance by caching the runtime + polyfill (
#257) * feat: improve JS runtime performance by caching polyfill with wizer * feat: update JS engine with the latest compilation
- Loading branch information
1 parent
641d773
commit 8e78113
Showing
6 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.PHONY: build | ||
.PHONY: build build-src | ||
|
||
build: | ||
cargo build --target wasm32-wasi --release && \ | ||
cp ./target/wasm32-wasi/release/wasm-workers-quick-js-engine.wasm ./ | ||
build-src: | ||
cargo build --target wasm32-wasi --release | ||
|
||
build: build-src | ||
wizer --allow-wasi --wasm-bulk-memory true -o ./wasm-workers-quick-js-engine.wasm ./target/wasm32-wasi/release/wasm-workers-quick-js-engine.wasm |
This file contains 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
This file contains 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
Binary file modified
BIN
+5.48 MB
(210%)
kits/javascript/wasm-workers-quick-js-engine.wasm
100755 → 100644
Binary file not shown.