Better wasm instance cache (#5109)
* Wasm instance cache * Reduce slot locking * Fixed test * Dispose of instance in case of error * Fixed benches * Style, comments, some renames * Replaced upgradable lock with mutex * Bump dependencies * Re-export CallInWasm * Update client/executor/src/wasm_runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/native_executor.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/native_executor.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/wasm_runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/wasmtime/src/runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/wasm_runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/wasm_runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Update client/executor/src/wasm_runtime.rs Co-Authored-By: Bastian Köcher <[email protected]> * Indents * Whitespace * Formatting * Added issue link Co-authored-by: Benjamin Kampmann <[email protected]> Co-authored-by: Gavin Wood <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
parent
40b243f1
Please register or sign in to comment