bytecodealliance / bytecodealliance/componentize-py

Wizer pre-initialization

Offen
#142 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
277
Forks
51
Ø Merge
12 Std. 10 Min.
Gemergte PRs (30 T.)
10

Beschreibung

Would it be possible to implement the same Wizer pre-initialization for componentize-py, [similar to ComponentizeJS](https://github.com/bytecodealliance/ComponentizeJS?tab=readme-ov-file#wizer-pre-initialization)?

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**

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.