DrSensor / DrSensor/binaryen-loader
Split passes into different categories
- 主要语言
- JavaScript
- 星标
- 3
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
Currently, there are 57 _passes_ that are available in Binaryen. With this pile of _passes_, it's difficult to decide what _passes_ should be used for some general yet specific task (e.g reduce the size or speed up the execution). There is an idea to split it into multiple categories for each _passes_. Some categories that I can think of are:
- [ ] optimization related to speed up the execution
- [ ] optimization related to reducing the binary size
- [ ] passes which produce something that can help the debug process
I have done some [initial work](https://gist.github.com/DrSensor/5cdbbc02fa7d57015913df28b3f2021a) by trying some passes if it shrinks the size using this [example](https://github.com/DrSensor/example-vue-component-rust). Still not sure if it's correct.
贡献指南
调研方向
检查仓库中现有的 Binaryen pass 处理,然后将其与链接的初始实验和示例项目进行比较。确定拟议的速度、大小和调试类别是否完整且定义明确。完成意味着类别的范围和 pass 分配已达成一致,并且已一致地实现。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, wasm
- 领域
- tooling
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100