-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
rustc 4x compilation time slowdown in rust 1.55 #88998
Comments
@bazald does this only happen with --release or does |
@jyn514 I can say that non-release build times seem marginally slower, but nothing I'd have noticed without the Regarding your other requests, I'm afraid I get the following message:
This sent me down a rabbit hole. Which nightlies are roughly equivalent? Can I even install old nightlies? If I can do that, can I basically run a bisect? Turns out I can. nightly-2021-07-05-x86_64-pc-windows-msvc gives the old compilation time. (59.93s including dependencies) I'm not sure I have the energy to run more commands tonight. Can you clarify whether you want |
Some findings on a Mac M1:
So only with 1.55.0 and |
cc @nikic |
Oh wait, I misread - this is only an issue with two releases of the rust compiler? I'm going to close this then since it's fixed on nightly. |
Moving from rustc 1.54 to 1.55, I'm observing a 4x compilation time slowdown for the examples for the
hash-trie
crate I'm working on. permalink to current revisionI'm not sure if this is a bug, or some new compilation feature, but compilation times increasing from 45-60s to 180-240s is not something I was expecting.
cargo run --release --example set
cargo run --release --example set_xor
Perhaps I'm doing something pathological in my crate, but I'd be very curious to know what change is causing this.
The text was updated successfully, but these errors were encountered: