-
Notifications
You must be signed in to change notification settings - Fork 14
Decide on default value for -Xmixin-force-forwarders
in 2.12.0
#231
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
Comments
We decided to set the default value to Still to do: run compiler benchmarks combinations of
|
Benchmarking with static accessors enabled:
10-15% speedups for cold performance, similar to our previous measurements. Hot performance seems very close for scalap and better-files. Using src/compiler as another benchmark, I saw an improvement mixin forwarders, but I think that I was observing a difference in warmup speed, moreso than a difference in peak performance. I don't currently have a good way to quantify warmup speed. Would be good to gather kloc/s compile data for 0-5s, 5-10s etc and compare. But it is hard to fit large codebases (e.g. src/compiler) into these buckets. |
Ticket to make sure it doesn't get forgotten.
Jason's latest benchmark shows ~10% improvement in cold performance, none when warm scala/scala#5390 (comment).
It seems that changing the value should be binary compatible, in which case we could change the default (in either direction) in a minor release.
Should think more about and test binary compatibility
The text was updated successfully, but these errors were encountered: