-
Notifications
You must be signed in to change notification settings - Fork 1.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
analysis-stats perf regression #6362
Comments
Since |
Oh, it's the additional I actually saw chalk spending a long time proving So, seems like a chalk bug. |
Oh yeah, the problem is that currently Chalk doesn't normalize the associated type projection before trying to prove the bound, which means it has to go through every impl. So with a trait that has a lot of impls like |
Ah, okay. That explains why it's still fast in general, if proving |
FWIW I've had a regression somewhere between 2edf15a...cb78c40 that makes rust-analyzer nearly unusable (auto-completion takes seconds to show up after I start typing, and when I'm done it slowly chugs through my edits character by character to re-highlight errors, spending about a second per edit) on my laptop (Ryzen 3750H, emacs + lsp-mode, Linux). Weirdly enough my desktop seems to handle it fine (Ryzen 3900X, but otherwise similar). It seems to happen for https://github.com/clux/kube-rs and to a lesser degree https://github.com/hyperium/hyper, but not an empty dummy project created by I'll try to see if it seems to match up with your tighter commit range.. |
I opened an issue to keep track of the Chalk issue, but let's close this since it's otherwise not really actionable. |
Looks like the cause is somewhere in the range e315fd...43253c. Unfortunately it's very noisy, so it might be caused by something that is slightly outside of that range.
The text was updated successfully, but these errors were encountered: