-
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
Rollup of 6 pull requests #107870
Rollup of 6 pull requests #107870
Conversation
Implements MCP 577.
These are in places where a `tcx` is easily obtained.
There is a type `QueryCtxt`, which impls the trait `QueryContext`. Confusingly, there is another type `QueryContext`. The latter is (like `TyCtxt`) just a pointer to a `GlobalContext`. It's not used much, e.g. its `impl` block has a single method. This commit removes `QueryContext`, replacing its use with direct `GlobalCtxt` use.
… r=wesleywiser Support `true` and `false` as boolean flag params Implements [MCP 577](rust-lang/compiler-team#577).
…li-obk Query refactoring Just some cleanups I found when learning about the query system. Best reviewed one commit at a time. r? `@oli-obk`
…anonur Handled snap curl issue inside Rust
…laumeGomez rustdoc: remove unused fn parameter `tab`
…mulacrum Sync release notes for 1.67.1 Closes rust-lang#107859.
…e-candidates, r=jackh726 Allow multiple candidates with same response in new solver Treat >1 candidates as *not* ambiguous if they return the same response.
@bors r+ rollup=never p=6 |
☀️ Test successful - checks-actions |
📌 Perf builds for each rolled up PR: previous master: a697573463 In the case of a perf regression, run the following command for each PR you suspect might be the cause: |
Finished benchmarking commit (9b8dbd5): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression 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.
|
@rust-timer build 5677b86c43cf70b41403958c90e2ade33123b6b3 |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (5677b86c43cf70b41403958c90e2ade33123b6b3): comparison URL. Overall result: no relevant changes - no 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. @bors rollup=never Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. 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.
|
@rust-timer build 33084aaad8826feab0d8bbf0af5ef8c7bb416767 |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (33084aaad8826feab0d8bbf0af5ef8c7bb416767): comparison URL. Overall result: ❌ regressions - 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.
|
It seems like #107831 is the cause of the regression cc @nnethercote @oli-obk |
Looking at the graph, I think there is no regression here. This looks like a reversal of the "improvement" in https://perf.rust-lang.org/compare.html?start=9433ba63942a736f068baacf19e5cffaff6dccc9&end=ef934d9b632b8ac00276558824664c104b92b5f0&stat=instructions:u |
The |
I did some local measurements with Cachegrind, starting with the current trunk and then de-applying the four commits from #107831 one at a time:
That's a 0.02% reduction in instruction counts by de-applying the four commits, i.e. negligible. Which strongly suggests that #107831 didn't have any meaningful perf effects. |
@rustbot label: perf-regression-triaged |
Successful merges:
true
andfalse
as boolean flag params #107043 (Supporttrue
andfalse
as boolean flag params)tab
#107852 (rustdoc: remove unused fn parametertab
)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup