twiggy

A code-size profiler for WebAssembly

Subcommands

NameDescription
diffDiff the old and new versions of a binary to see what sizes changed
dominatorsCompute and display the dominator tree for a binary's call graph
garbageFind and display code and data that is not transitively referenced by any exports or public functions
helpPrints this message or the help of the given subcommand(s)
monosList the generic function monomorphizations that are contributing to code bloat
pathsFind and display the call paths to a function in the given binary's call graph
topList the top code size offenders in a binary

Options

NameDescription
--help,-hPrints help information
--version,-vPrints version information