-
Notifications
You must be signed in to change notification settings - Fork 13.4k
mir-opt tests extremely slow. #58485
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I can't reproduce anymore, but I've seen this before (usually just one message). |
Maybe #58103 made emitting all this MIR really slow? |
I think these have been slow for quite a while though. |
Bonus: I get these messages (which hint to the slowest of all
|
Nominating for discussion (specifically, investigating this) at the next @rust-lang/compiler team meeting. |
I wanted to try get warnings for 10s instead of 60s, but sadly, it's hardcoded into Line 75 in 3bee49f
And because we build Here are the warnings for
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
One solution @oli-obk and I are considering is adding an analogue of LLVM's |
triage: It would be great to resolve this. It would also be great if all of our rustc developers had a however, I think given the reality of our common-case hardware, I do not think this falls into the P-high prioritization bucket. (Again, I do want to resolve it. but I don't want to revisit it's status every week.) So I'm going to assign this P-medium priority for now. (And leave it nominated for discussion at the meeting.) |
Removing nomination since it's not clear what's left to discuss at the meeting. |
Not sure whether it's a change in the build server I'm using, or Rust itself, but while the other passes take more or less the same time, I've recently observed an increase in |
Huh, I wanted to do some other testing and found these results for
That is, the more threads (forced with
I wonder if it's caused a lot of contention, maybe IO (since |
Okay all that analysis was pointless except it led me to realize all of those
|
@Mark-Simulacrum is it possible this is all time spent in
compiletest
processing the output?cc @rust-lang/compiler @RalfJung
The text was updated successfully, but these errors were encountered: