
wasm-opt
List of commands for wasm-opt:
-
wasm-opt:tldr:12c59 wasm-opt: Apply all optimizations and write to a given file (takes more time, but generates optimal code).$ wasm-opt -O4 ${input-wasm} -o ${output-wasm}try on your machineexplain this command
-
wasm-opt:tldr:4e3e7 wasm-opt: Apply default optimizations and write to a given file.$ wasm-opt -O ${input-wasm} -o ${output-wasm}try on your machineexplain this command
-
wasm-opt:tldr:529d0 wasm-opt: Print the textual representation of the binary to console.$ wasm-opt ${input-wasm} --printtry on your machineexplain this command
-
wasm-opt:tldr:a920b wasm-opt: Optimize a file for size.$ wasm-opt -Oz ${input-wasm} -o ${output-wasm}try on your machineexplain this command