Skip to content
Commit d3208aa7 authored by Benjamin Kampmann's avatar Benjamin Kampmann Committed by GitHub
Browse files

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: default avatarBastian Köcher <[email protected]>

* Update client/executor/src/native_executor.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Update client/executor/src/native_executor.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Update client/executor/src/wasm_runtime.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Update client/executor/wasmtime/src/runtime.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Update client/executor/src/wasm_runtime.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Update client/executor/src/wasm_runtime.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Update client/executor/src/wasm_runtime.rs

Co-Authored-By: default avatarBastian Köcher <[email protected]>

* Indents

* Whitespace

* Formatting

* Added issue link

Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
Co-authored-by: default avatarGavin Wood <[email protected]>
Co-authored-by: default avatarBastian Köcher <[email protected]>
parent 40b243f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment