Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

sc-executor-wasmtime: leverage shared host functions #8252

Open
pepyakin opened this issue Mar 3, 2021 · 1 comment
Open

sc-executor-wasmtime: leverage shared host functions #8252

pepyakin opened this issue Mar 3, 2021 · 1 comment
Labels
I9-optimisation An enhancement to provide better overall performance in terms of time-to-completion for a task.

Comments

@pepyakin
Copy link
Contributor

pepyakin commented Mar 3, 2021

At the moment of writing, wasmtime is about to introduce a concept of shared host functions,

bytecodealliance/rfcs#9
bytecodealliance/wasmtime#2625

This would allow us to not redefine the entire Substrate Runtime Interface upon each WasmModule instantiation. While it's not important for the substrate path it may be useful for PVF execution, since there we may execute a lot of short lived instances with the same interface.

See also #8251 for a prerequisite refactoring and #8153

@pepyakin pepyakin added the I9-optimisation An enhancement to provide better overall performance in terms of time-to-completion for a task. label Mar 3, 2021
@stale
Copy link

stale bot commented Jul 7, 2021

Hey, is anyone still working on this? Due to the inactivity this issue has been automatically marked as stale. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the A5-stale Pull request did not receive any updates in a long time. No review needed at this stage. Close it. label Jul 7, 2021
@pepyakin pepyakin removed the A5-stale Pull request did not receive any updates in a long time. No review needed at this stage. Close it. label Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
I9-optimisation An enhancement to provide better overall performance in terms of time-to-completion for a task.
Projects
None yet
Development

No branches or pull requests

1 participant