Skip to content
New issue

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

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

Already on GitHub? # to your account

Disable ssa and bool passes #11420

Merged
merged 1 commit into from
Nov 26, 2021
Merged

Disable ssa and bool passes #11420

merged 1 commit into from
Nov 26, 2021

Conversation

josevalim
Copy link
Member

Module bodies, especially in tests, tend to be
long, which affects the performance of passes
such as beam_ssa_opt and beam_bool. This commit
disables those passes during module definition.
As an example, this makes loading Elixir's test
suite 7-8% faster.

Module bodies, especially in tests, tend to be
long, which affects the performance of passes
such as beam_ssa_opt and beam_bool. This commit
disables those passes during module definition.
As an example, this makes loading Elixir's test
suite 7-8% faster.
@josevalim josevalim merged commit cc877ee into main Nov 26, 2021
@josevalim josevalim deleted the jv-disable-bool-ssa branch November 26, 2021 05:46
@josevalim
Copy link
Member Author

💚 💙 💜 💛 ❤️

josevalim pushed a commit that referenced this pull request Dec 13, 2023
As best as I learned this was introduced in #11420 and fixed in aabe465
It shouldn't affect almost anyone except for scripting usage of
elixir and (probably most notably) benchee benchmarks that don't
call functions in a module.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant