[WASM] Use binaryen -O3 for optimzied compiles of .wat files.
This increases throughput up to 20%.
@@ -179,7 +179,7 @@ def j2wasm_application(name, defines = dict(), **kwargs):
_j2wasm_application(
name = name,
- binaryen_args = ["-O"],
+ binaryen_args = ["-O3"],
transpiler_args = ["-experimentalWasmRemoveAssertStatement"],
defines = ["%s=%s" % (k, v) for (k, v) in optimized_defines.items()],
**kwargs
