wasmi-labs / wasmi

WebAssembly (Wasm) interpreter.
https://wasmi-labs.github.io/wasmi/
Apache License 2.0
1.52k stars 274 forks source link

Add `GlobalCache` and remove `InstanceCache` #1069

Closed Robbepop closed 2 weeks ago

Robbepop commented 2 weeks ago

Same as https://github.com/wasmi-labs/wasmi/pull/1065 but not based on https://github.com/wasmi-labs/wasmi/pull/1060.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 86.20690% with 12 lines in your changes missing coverage. Please review.

Project coverage is 80.51%. Comparing base (0627348) to head (3d1ed5e).

Files Patch % Lines
crates/wasmi/src/engine/executor/instrs.rs 78.94% 4 Missing :warning:
crates/wasmi/src/engine/executor/instrs/call.rs 82.35% 3 Missing :warning:
crates/wasmi/src/engine/executor/instrs/global.rs 76.92% 3 Missing :warning:
crates/core/src/untyped.rs 50.00% 1 Missing :warning:
crates/wasmi/src/engine/executor/cache.rs 91.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1069 +/- ## ========================================== + Coverage 80.44% 80.51% +0.06% ========================================== Files 269 268 -1 Lines 24984 24926 -58 ========================================== - Hits 20099 20069 -30 + Misses 4885 4857 -28 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.