Stream: git-wasmtime

Topic: wasmtime / PR #3914 Eagerly create `ModuleMemoryImages`


view this post on Zulip Wasmtime GitHub notifications bot (Mar 10 2022 at 17:27):

alexcrichton opened PR #3914 from less-lazy to main:

This commit removes the currently existing laziness-via-OnceCell when
a Module is created for creating a ModuleMemoryImages data
structure. Processing of data is now already shifted to compile time for
the wasm module which means that creating a ModuleMemoryImages is
either cheap because the module is backed by a file on disk, it's a
single write into the kernel to a memfd, or it's cheap as it's not
supported. This should help make module instantiation time more
deterministic, even for the first instantiation of a module.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Mar 10 2022 at 17:37):

cfallin submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 10 2022 at 18:23):

alexcrichton merged PR #3914.


Last updated: Dec 23 2024 at 12:05 UTC