wasm-opt
Optimize WebAssembly binary files. More information: https://manned.org/wasm-opt.
- Apply default optimizations and write to a given file:
wasm-opt -O
- Apply all optimizations and write to a given file (takes more time, but generates optimal code):
wasm-opt -O4
- Optimize a file for size:
wasm-opt -Oz
- Print the textual representation of the binary to console:
wasm-opt --print
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
