Make wasm runtime cache size configurable (#10177)

* Make wasm runtime cache size configurable

* apply review comments

* remove VersionedRuntimeValue

* fix compilation

* VersionedRuntime: replace clone by Arc

* fmt

* fix warnings

* fix tests compilation

* fmt
This commit is contained in:
Éloïs authored and GitHub committed 2021-12-09 16:10:16 +01:00
1 parent 6ce90f583c
commit 3acd335a8d
30 files changed
+139 -79

No files matched your search

@@ -137,6 +137,7 @@ impl BenchmarkCmd {
wasm_method,
self.heap_pages,
2, // The runtime instances cache size.
2, // The runtime cache size
);
let extensions = || -> Extensions {