-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
experimental: Share generic code for optimized builds. #50861
experimental: Share generic code for optimized builds. #50861
Conversation
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
@bors try |
⌛ Trying commit 43101b6 with merge b60bd5703773a04cd853519fdc2465dc9d45603d... |
☀️ Test successful - status-travis |
@Mark-Simulacrum, would you mind starting a perf-run for this? |
Perf queued for b60bd5703773a04cd853519fdc2465dc9d45603d. |
Do we have whole crate graph LTO by default? From my understanding this should be paired with that, and should not be enabled on dylibs right? |
No, that would probably take too long.
It's probably best to wait for MIR-only RLIBs (which are blocked on query parallelization). Those should be even better at sharing code without the runtime performance implications. |
This is not meant to be merged. I just want to see how sharing monomorphizations affects optimized builds.