Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tune optimization profiles #26

Closed
wants to merge 1 commit into from

Conversation

OlivierNicole
Copy link
Collaborator

Tunes the Binaryen optimization passes to achieve two goals:

  • A fast build with --opt=1
  • A fast executable with --opt={2,3}, without making the build times unreasonably long.

It turns out that only a handful of selected passes for --opt=1 and -O2 and -O3 seem to achieve these goals for the time being.

@vouillon
Copy link
Collaborator

We will probably need to reconsider this. With separate compilation and #30, we might get a fast build even with more optimizations enabled.

Tunes the Binaryen optimization passes to achieve two goals:

- A fast build with `--opt=1`
- A fast executable with `--opt={2,3}`, without making the build times
  unreasonably long.

It turns out that only a handful of selected passes for `--opt=1` and
`-O2` and `-O3` seem to achieve these goals for the time being.

Co-authored-by: Jérôme Vouillon <[email protected]>
@vouillon
Copy link
Collaborator

No longer relevant with separate compilation.

@vouillon vouillon closed this Sep 13, 2024
@OlivierNicole OlivierNicole deleted the tune_opt branch September 13, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants