This project currently only offers one optimization and does not allow it to be configured.
That optimization is simply to unpack the modules within the component and optimize them. It makes extensive use of
wasmparser
for parsing components,wasm-opt
for performing module optimization, andwasm-encoder
for constructing th output component.
The current testing methodology is explained in the Tests README
In the long run, I'd like this project to evolve to include "Component-aware" optimizations.
I've created a Optimization Pass Issue Tracker for proposed optimization passes.