Skip to content
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

Remove RegionckMode in favor of calling new skip_region_resolution #98041

Merged
merged 1 commit into from
Jun 14, 2022

Conversation

jackh726
Copy link
Member

Simple cleanup. We can skip a bunch of stuff for places where NLL does the region checking, so skip earlier.

r? rust-lang/types

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Jun 13, 2022
@rust-highfive
Copy link
Collaborator

r? @oli-obk

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 13, 2022
@jackh726
Copy link
Member Author

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jun 13, 2022
@bors
Copy link
Contributor

bors commented Jun 13, 2022

⌛ Trying commit d716245 with merge 4121223758f40b7023c7bbad26897401ea8dd4fa...

@bors
Copy link
Contributor

bors commented Jun 13, 2022

☀️ Try build successful - checks-actions
Build commit: 4121223758f40b7023c7bbad26897401ea8dd4fa (4121223758f40b7023c7bbad26897401ea8dd4fa)

@rust-timer
Copy link
Collaborator

Queued 4121223758f40b7023c7bbad26897401ea8dd4fa with parent c570ab5, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (4121223758f40b7023c7bbad26897401ea8dd4fa): comparison url.

Instruction count

  • Primary benchmarks: 🎉 relevant improvements found
  • Secondary benchmarks: 🎉 relevant improvements found
mean1 max count2
Regressions 😿
(primary)
N/A N/A 0
Regressions 😿
(secondary)
N/A N/A 0
Improvements 🎉
(primary)
-0.9% -4.0% 36
Improvements 🎉
(secondary)
-0.3% -0.3% 3
All 😿🎉 (primary) -0.9% -4.0% 36

Max RSS (memory usage)

This benchmark run did not return any relevant results for this metric.

Cycles

Results
  • Primary benchmarks: 🎉 relevant improvements found
  • Secondary benchmarks: 😿 relevant regression found
mean1 max count2
Regressions 😿
(primary)
N/A N/A 0
Regressions 😿
(secondary)
2.0% 2.0% 1
Improvements 🎉
(primary)
-3.4% -4.0% 6
Improvements 🎉
(secondary)
N/A N/A 0
All 😿🎉 (primary) -3.4% -4.0% 6

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

Benchmarking 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
@rustbot label: +S-waiting-on-review -S-waiting-on-perf -perf-regression

Footnotes

  1. the arithmetic mean of the percent change 2

  2. number of relevant changes 2

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jun 13, 2022
@oli-obk
Copy link
Contributor

oli-obk commented Jun 13, 2022

Very nice!

@bors r+

@bors
Copy link
Contributor

bors commented Jun 13, 2022

📌 Commit d716245 has been approved by oli-obk

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jun 13, 2022
@bors
Copy link
Contributor

bors commented Jun 14, 2022

⌛ Testing commit d716245 with merge 4e02a92...

@bors
Copy link
Contributor

bors commented Jun 14, 2022

☀️ Test successful - checks-actions
Approved by: oli-obk
Pushing 4e02a92 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jun 14, 2022
@bors bors merged commit 4e02a92 into rust-lang:master Jun 14, 2022
@rustbot rustbot added this to the 1.63.0 milestone Jun 14, 2022
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (4e02a92): comparison url.

Instruction count

  • Primary benchmarks: 🎉 relevant improvements found
  • Secondary benchmarks: mixed results
mean1 max count2
Regressions 😿
(primary)
0.2% 0.2% 1
Regressions 😿
(secondary)
1.0% 1.2% 3
Improvements 🎉
(primary)
-0.9% -3.7% 35
Improvements 🎉
(secondary)
-0.3% -0.3% 1
All 😿🎉 (primary) -0.8% -3.7% 36

Max RSS (memory usage)

This benchmark run did not return any relevant results for this metric.

Cycles

Results
  • Primary benchmarks: mixed results
  • Secondary benchmarks: 😿 relevant regressions found
mean1 max count2
Regressions 😿
(primary)
2.3% 2.5% 2
Regressions 😿
(secondary)
4.3% 4.3% 2
Improvements 🎉
(primary)
-3.1% -3.6% 7
Improvements 🎉
(secondary)
N/A N/A 0
All 😿🎉 (primary) -1.9% -3.6% 9

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

@rustbot label: -perf-regression

Footnotes

  1. the arithmetic mean of the percent change 2

  2. number of relevant changes 2

@jackh726 jackh726 deleted the remove-regionckmode branch June 14, 2022 12:24
@pnkfelix
Copy link
Member

  • Skimming over the comparison (and even just from the table), it seems clear that the improvements far far far outweighed the gains here.
  • Marking as triaged.

@rustbot label: +perf-regression-triaged

@rustbot rustbot added the perf-regression-triaged The performance regression has been triaged. label Jun 14, 2022
JohnTitor added a commit to JohnTitor/rust-semverver that referenced this pull request Jun 15, 2022
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
bors added a commit to rust-lang/rust-semverver that referenced this pull request Jun 15, 2022
Rustup to rust-lang/rust#98041

Fixes #318

Signed-off-by: Yuki Okushi <jtitor@2k36.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. perf-regression-triaged The performance regression has been triaged. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants