-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Stop caching typeck on disk #111099
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
Stop caching typeck on disk #111099
Conversation
I would naively assume that if the inputs to typeck are unchanged, the inputs of the dependendents of typeck would also stay unchanged, making the caching redundant. I have no data to back this up, so let's try getting some.
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit eebe0fe with merge 800b4489e24a641f03354624f76693d1190e4d1d... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (800b4489e24a641f03354624f76693d1190e4d1d): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 656.873s -> 653.777s (-0.47%) |
The test failure shows why this is bad. We have non incremental passes (😢) that use typeck. |
I would naively assume that if the inputs to typeck are unchanged, the inputs of the dependendents of typeck would also stay unchanged, making the caching redundant.
I have no data to back this up, so let's try getting some.
#111026 got some nice wins from caching less typeck, let's see what happens here. Perf results are not enough data to determine whether this is good, but it's a starting point.
r? @ghost