#wasm-component #optimization #wrapper #wasm-opt

bin+lib component-opt

A simple optimizer for Wasm components

1 unstable release

0.1.0 Feb 24, 2024

#61 in #wasm-component

MIT/Apache

24KB
108 lines

Component Optimizer

This project is currently a thin wrapper around wasmparser, wasm-opt, and wasm-encoder so that it's easy to apply a basic set of optimizations to wasm components.

It has very limited functionality, is not very configurable, and has not been extensively tested.

Use at your own risk and consider contributing if you want it improved.

Dependencies

~12–22MB
~354K SLoC