Wasmtime (the wasm runtime used in OPA) supports caching the output of JIT compiling a wasm module.
We could explore if that brings us any benefits. One thing is that currently, in our VM pool, each one will compile the wasm module itself; this could be avoided.
Wasmtime (the wasm runtime used in OPA) supports caching the output of JIT compiling a wasm module.
We could explore if that brings us any benefits. One thing is that currently, in our VM pool, each one will compile the wasm module itself; this could be avoided.
(Currently, configuring this requires config files 👉 https://github.com/bytecodealliance/wasmtime/issues/3085)