diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index 46bb1434..a72493ce 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -14,7 +14,7 @@ jobs: DFX_VERSION: 0.14.4 IC_REPL_VERSION: 0.4.1 MOC_VERSION: 0.10.0 - IC_WASM_VERSION: 0.4.0 + IC_WASM_VERSION: 0.5.0 steps: - uses: actions/checkout@v3 - name: Checkout out gh-pages report diff --git a/utils.mk b/utils.mk index c67f3ba2..cb3e1efb 100644 --- a/utils.mk +++ b/utils.mk @@ -1,5 +1,6 @@ define ic-wasm - echo "No Optimize!" + echo "Aggressive optimize with ic-wasm"; \ + for f in $(1)/*/*.wasm; do ic-wasm -o $$f $$f optimize O4 --inline-functions-with-loops --always-inline-max-function-size 100 --keep-name-section; done endef define build_with_mops