-
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
Clean up query cache code #59722
Clean up query cache code #59722
Conversation
@bors try |
⌛ Trying commit a3493a2492373f97fb47597ad6f2911a3b82f4c7 with merge db126a1e5b055e968f3661c12b92ab2ba40987e3... |
☀️ Try build successful - checks-travis |
@rust-build timer db126a1e5b055e968f3661c12b92ab2ba40987e3 |
@rust-timer build db126a1e5b055e968f3661c12b92ab2ba40987e3 |
Success: Queued db126a1e5b055e968f3661c12b92ab2ba40987e3 with parent acd8dd6, comparison URL. |
Finished benchmarking try commit db126a1e5b055e968f3661c12b92ab2ba40987e3 |
e3cdfff
to
a31b2af
Compare
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
@bors try |
⌛ Trying commit 475186d8e9976d32df95c00dac01efa96b3a467e with merge 59c0f07bdd675044703a15d56dd70a72543a0532... |
☀️ Try build successful - checks-travis |
@rust-timer build 59c0f07bdd675044703a15d56dd70a72543a0532 |
Success: Queued 59c0f07bdd675044703a15d56dd70a72543a0532 with parent fcf850f, comparison URL. |
Finished benchmarking try commit 59c0f07bdd675044703a15d56dd70a72543a0532 |
Any idea why performance is affected so badly? |
@michaelwoerister No, but I must have messed something up. |
Visiting from triage; marking as waiting on author rather than review; I suspect this is unlikely to make progress until @Zoxc has a chance to investigate the slowdown and fix it. |
@rust-timer build 61796f24147d054025b3ff3c29179733ca54a1b4 |
Success: Queued 61796f24147d054025b3ff3c29179733ca54a1b4 with parent d3e2cec, comparison URL. |
src/librustc/dep_graph/graph.rs
Outdated
None | ||
} | ||
let data = self.data.as_ref().unwrap(); | ||
data.colors.values.indices().for_each(|prev_index| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not use a for
loop?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idk, to not make for_each
seem useless? =P
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me if perf is good
Finished benchmarking try commit 61796f24147d054025b3ff3c29179733ca54a1b4, comparison URL. |
@bors r=eddyb |
@bors r=eddyb |
📌 Commit ede41ab has been approved by |
Clean up query cache code There are a couple of queries for which we do not promote saved results, which have been removed from caching here. This was likely the cause of the regression in #57293 (comment). r? @michaelwoerister
☀️ Test successful - checks-azure, checks-travis, status-appveyor |
There are a couple of queries for which we do not promote saved results, which have been removed from caching here. This was likely the cause of the regression in #57293 (comment).
r? @michaelwoerister