-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
resolution time has *quadrupled* between 235d77457 and 6fa61b810 #33061
Comments
The extra RAM usage seems to be because of the AST not getting freed after the early lint checks. Not sure if this is intentional. |
The AST should definitely still get freed, nobody touched the code doing that, so it's not intentional (unless something about the command line options has changed?) |
The performance regression in |
Resolution used to take about 1 seconds a few months ago in winapi and now it takes 9 seconds. |
I fixed the performance regression in #33064. |
resolve: Improve performance This fixes #33061 by speeding up searchs through all traits in scope, a bottleneck in `resolve`. According to my measurements, this PR improves resolution performance by a factor of 3.4x on `librustc`, which almost completely reverses the 3.75x performance regression reported in #33061. r? @eddyb
Before (on librustc):
After (on same librustc):
cc @jseyfried
The text was updated successfully, but these errors were encountered: