Skip to content

Commit

Permalink
aggressive wasm-opt
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Sep 15, 2023
1 parent d449128 commit 105e4e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion utils.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 105e4e8

Please sign in to comment.