Skip to content

Wizer pre-initialization #142

@alexcasalboni

Description

@alexcasalboni

Would it be possible to implement the same Wizer pre-initialization for componentize-py, similar to ComponentizeJS?

Loading a Python-based Wasm component into memory (using wasmtime) takes many seconds and it would be great if we could find a way to reduce that to hundreds of milliseconds as for the other supported languages.

For comparison, here are the load times for different languages on my MacBook Pro (pretty much an empty component):

  • Rust: 50ms
  • Go: 60ms
  • JS: 800ms
  • Python: 2 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions