componentize-py icon indicating copy to clipboard operation
componentize-py copied to clipboard

Wizer pre-initialization

Open alexcasalboni opened this issue 8 months ago • 6 comments

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

alexcasalboni avatar Mar 07 '25 11:03 alexcasalboni