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

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

Open
@pepyakin

Description

@pepyakin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    I9-optimisationAn enhancement to provide better overall performance in terms of time-to-completion for a task.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions