Skip to content

Conversation

PragTob
Copy link
Contributor

@PragTob PragTob commented Dec 13, 2023

👋 Me again, but as always thanks for all your fantastic work! 💚

Kudos go to @sabiwara, full log/discussion at: bencheeorg/benchee#406

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.

I think this warrants a Changelog entry. Not sure if [Compiler] is right and my entry is probably way too wordy - happy to adjust it.

I'll also write up a notice at benchee and potentially a blog post so that people can know to potentially redo benchmarks they ran on 1.14-1.15 by either wrapping the functions or the Benchee.run invocation in modules or running on an unaffected Elixir version.

PragTob and others added 2 commits December 13, 2023 14:16
Kudos go to @sabiwara, full log/discussion at:
bencheeorg/benchee#406

As best as I learned this was introduced in elixir-lang#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.

I think this warrants a Changelog entry. Not sure if [Compiler] is
right and my entry is probably way too wordy - happy to adjust it.

I'll also write up a notice at benchee and potentially a blog post
so that people can know to potentially redo benchmarks they ran
on 1.14-1.15 by either wrapping the functions or the
`Benchee.run` invocation in modules or running on an unaffected
Elixir version.
@josevalim josevalim merged commit 80404da into elixir-lang:v1.16 Dec 13, 2023
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@PragTob PragTob deleted the mention-compiler-optimization-fixed-regression branch December 13, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants