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 commit_unconditionally #99509

Merged
merged 2 commits into from
Aug 3, 2022
Merged

Conversation

lcnr
Copy link
Contributor

@lcnr lcnr commented Jul 20, 2022

commit_unconditionally is a noop unless we somehow inspect the current state of our snapshot. The only thing which does that is the leak check which was only used in one place where commit_if_ok is probably at least as, or even more, correct.

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 Jul 20, 2022
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 20, 2022
@lcnr
Copy link
Contributor Author

lcnr commented Jul 20, 2022

@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 Jul 20, 2022
@bors
Copy link
Contributor

bors commented Jul 20, 2022

⌛ Trying commit b81e74c with merge b33c47c614d06d8fff16bf03468f45661920b716...

@bors
Copy link
Contributor

bors commented Jul 20, 2022

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

@rust-timer
Copy link
Collaborator

Queued b33c47c614d06d8fff16bf03468f45661920b716 with parent a7468c6, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (b33c47c614d06d8fff16bf03468f45661920b716): comparison url.

Instruction count

  • Primary benchmarks: 🎉 relevant improvements found
  • Secondary benchmarks: 🎉 relevant improvement found
mean1 max count2
Regressions 😿
(primary)
N/A N/A 0
Regressions 😿
(secondary)
N/A N/A 0
Improvements 🎉
(primary)
-0.5% -1.0% 8
Improvements 🎉
(secondary)
-0.8% -0.8% 1
All 😿🎉 (primary) -0.5% -1.0% 8

Max RSS (memory usage)

Results
  • Primary benchmarks: 🎉 relevant improvement found
  • Secondary benchmarks: mixed results
mean1 max count2
Regressions 😿
(primary)
N/A N/A 0
Regressions 😿
(secondary)
9.5% 9.5% 1
Improvements 🎉
(primary)
-5.8% -5.8% 1
Improvements 🎉
(secondary)
-2.4% -2.6% 2
All 😿🎉 (primary) -5.8% -5.8% 1

Cycles

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

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 Jul 21, 2022
@jackh726
Copy link
Member

jackh726 commented Aug 2, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Aug 2, 2022

📌 Commit b81e74c has been approved by jackh726

It is now in the queue for this repository.

@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 Aug 2, 2022
@bors
Copy link
Contributor

bors commented Aug 3, 2022

⌛ Testing commit b81e74c with merge b759b2e...

@bors
Copy link
Contributor

bors commented Aug 3, 2022

☀️ Test successful - checks-actions
Approved by: jackh726
Pushing b759b2e to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 3, 2022
@bors bors merged commit b759b2e into rust-lang:master Aug 3, 2022
@rustbot rustbot added this to the 1.64.0 milestone Aug 3, 2022
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (b759b2e): comparison url.

Instruction count

  • Primary benchmarks: 🎉 relevant improvements found
  • Secondary benchmarks: 🎉 relevant improvement found
mean1 max count2
Regressions 😿
(primary)
N/A N/A 0
Regressions 😿
(secondary)
N/A N/A 0
Improvements 🎉
(primary)
-0.5% -1.0% 8
Improvements 🎉
(secondary)
-0.8% -0.8% 1
All 😿🎉 (primary) -0.5% -1.0% 8

Max RSS (memory usage)

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

Cycles

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

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. number of relevant changes

@lcnr lcnr deleted the commit_unconditionally branch August 4, 2022 06:43
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. 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.

6 participants