Stream: git-wasmtime

Topic: wasmtime / PR #3775 Tweak parallelism and the instantiati...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2022 at 21:36):

alexcrichton opened PR #3775 from update-instantiation-benchmark to main:

Currently the "sequential" and "parallel" benchmarks reports somewhat
different timings. For sequential it's time-to-instantiate, but for
parallel it's time-to-instantiate-10k instances. The parallelism in the
parallel benchmark can also theoretically be affected by rayon's
work-stealing. For example if rayon doesn't actually do any work
stealing at all then this ends up being a sequential test again.
Otherwise though it's possible for some threads to finish much earlier
as rayon isn't guaranteed to keep threads busy.

This commit applies a few updates to the benchmark:

I also applied some minor updates here such as having the parallel
instantiation defined conditionally for multiple modules as well as
upping the limits of the pooling allocator to handle a large module
(rustpython.wasm) that I threw at it.

<!--

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 (Feb 07 2022 at 22:35):

peterhuene submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 07 2022 at 23:55):

cfallin merged PR #3775.


Last updated: Dec 23 2024 at 12:05 UTC