Skip to content

Commit

Permalink
new: Use temporary, backported trivial caching implemention in extism
Browse files Browse the repository at this point in the history
Results in significant tool resolution performance gains.

In my testing, trivial calling of `node` goes from ~100ms to ~18.5ms.

No config change is needed, wasmtime will do the caching transparently in the background.

Tested on linux, not sure how or if it'll work on Windows.
  • Loading branch information
johnpyp committed Nov 29, 2023
1 parent 81720f1 commit f55aa24
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
21 changes: 14 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cached = "0.46.1"
clap = "4.4.8"
clap_complete = "4.4.4"
convert_case = "0.6.0"
extism = { version = "0.5.4" }
extism = { git = "https://github.com/extism/extism.git", branch = "backport-cache"}
extism-pdk = "0.3.4"
human-sort = "0.2.2"
miette = "5.10.0"
Expand Down

0 comments on commit f55aa24

Please sign in to comment.