Wasm runtime performance tracking issue #1164
Labels
breaking change
This is going to make someone's day worse
topic:api
API functionality, including both host and guest
topic:packages
Package and package semantics. Dependencies, definitions, etc.
topic:performance
Performance enhancements, regressions, etc
topic:web
Related to running on the Web
When switching to
wasm_component_layer
andwasm_runtime_layer
we will get the wasmtime/web abstraction for free, as well as the very gnarly component parsing, which was previously done by either wasmtime_component or jco.However, as there is no such thing as a free lunch, there are additional things we will need to do.
wasm_runtime_layer
(and maybewasm_component_layer
) Wasm web runtime performance #1131wit_bindgen
macro forwasm_component_layer
to integrate with its linkerwit_bindgen!
macro DouglasDwyer/wasm_component_layer#4wasm_component_layer
. This will be easier than the wasi inwasm-bridge
as we can use thewit_bindgen
macro for the glue, rather than doing it manually in the crate as before.wasm_component_layer
with appropriate runtime selection instead of wasmtime or wasm-bridge directly with cfg guards.In addition to this, there are further smaller improvements we can make in the new implementation to squeeze more performance:
Though before any of these are started, we need to do the above and measure to validate that they have improved performance from the
wasm_component_layer
baseline.Mat4
, so au8
requires as much bandwidth asMat4
Tagging you @philpax just to make sure you see this :)
Originally posted by @ten3roberts in #1131 (comment)
The text was updated successfully, but these errors were encountered: