-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add -flto flags in WSClean AMD #165
Conversation
Those were not supposed to be there in the Intel recipe. I missed those when looking at the PR. Please make sure changes to compiler flags sneak in with unrelated PRs. I think link time optimisation should be relatively harmless, but this is something that I think should be kept individual track of with some benchmarks ideally. |
In fact, maybe it would be even better to do this benchamrks passing the flag globally, not just to WSClean? |
Using current master where:
and https://github.com/tikk3r/flocs/blob/fedora-py3/benches/benchmark_image_6asec.sh as a test, but smaller
I got: no LTO LTO at the expanse of much longer compilation time.
But since it does not work for WSClean, maybe we should close it? |
Good to see that it doesn't see to have a negative impact at least. I'm not crossing LTO out, but I do want to confirm via benchmarks that it doesn't harm performance and is worth it. With a marginal 0.5% improvement while taking much longer to build. I would put that in the "not worth it" territory. Closing this, because unfortunately it doesn't seem to have a worthwhile benefit. |
Description
-lfto
was missing. It is here in Intel recipe.