Wizer pre-initialization
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- backend, performance
调研方向
首先阅读 issue 中链接的 ComponentizeJS Wizer 预初始化文档,然后跟踪 componentize-py 如何使用 wasmtime 加载基于 Python 的 Wasm 组件。测量空组件当前的加载时间,并将工作完成定义为:预初始化将其从数秒缩短到数百毫秒左右。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Rust
- 星标
- 284
- 派生
- 56
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
bytecodealliance/componentize-py 的其他 Issue
-
难度 3/5 半天 新手友好度 40/100
bytecodealliance/componentize-py#259 · 1 条评论 ·
-
wasm32-wasip3 target uses WASI preview 2 bindings可能已有人在做 @Snowiiii 于 6 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
-
难度 3/5 1-2 天 新手友好度 57/100
bytecodealliance/componentize-py#253 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
bytecodealliance/componentize-py#247 · 12 条评论 ·
-
难度 3/5 1-2 天 新手友好度 68/100
bytecodealliance/componentize-py#217 · 6 条评论 ·
查看 bytecodealliance/componentize-py 的全部 Issue
相似的 Issue
-
[Bug] AM Context Monitor (am-monitor): Session turns count is capped at 80 due to turns.slice(-80)未关闭
难度 2/5 1-3 小时 新手友好度 83/100
lbjlaq/Antigravity-Manager#4180 ·
维护者通常 1 天内回复
-
bug triage
难度 2/5 1-3 小时 新手友好度 78/100
zizmorcore/zizmor#2608 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 83/100
longbridge/nsh#4201 ·
维护者通常 1 天内回复