Skip to content

Rollup of 3 pull requests #90387

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

Merged
merged 9 commits into from
Oct 29, 2021
Merged

Rollup of 3 pull requests #90387

merged 9 commits into from
Oct 29, 2021

Conversation

matthiaskrgr
Copy link
Member

Successful merges:

Failed merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

noncombatant and others added 9 commits October 19, 2021 20:23
We don't do member constraint checks in regionck anymore.
All member constraint checks are done in mir borrowck.
They don't depend on trait selection anymore, so there is no need for an extension trait.
It does not depend on anything from rustc_trait_selection anymore.
Remove extra lines in examples for `Duration::try_from_secs_*`

None of the other examples have extra lines below the `#![feature(...)]` statements, so I thought it appropriate that these examples shouldn't either.
Various cleanups around opaque types

Best reviewed commit by commit.

This PR has no functional changes.

Mostly it's moving logic from an extension trait in rustc_trait_selection to inherent impls on rustc_infer.
@rustbot rustbot added the rollup A PR which is a rollup label Oct 28, 2021
@matthiaskrgr
Copy link
Member Author

@bors r+ p=3 rollup=never

@bors
Copy link
Collaborator

bors commented Oct 28, 2021

📌 Commit bcee0a6 has been approved by matthiaskrgr

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Oct 28, 2021
@bors
Copy link
Collaborator

bors commented Oct 28, 2021

⌛ Testing commit bcee0a6 with merge df76418...

@bors
Copy link
Collaborator

bors commented Oct 29, 2021

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing df76418 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Oct 29, 2021
@bors bors merged commit df76418 into rust-lang:master Oct 29, 2021
@rustbot rustbot added this to the 1.58.0 milestone Oct 29, 2021
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (df76418): comparison url.

Summary: This change led to large relevant regressions 😿 in compiler performance.

  • Large regression in instruction counts (up to 2.4% on full builds of inflate)

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

Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please open an issue or create a new PR that fixes the regressions, add a comment linking to the newly created issue or PR, and then add the perf-regression-triaged label to this PR.

@rustbot label: +perf-regression

@rustbot rustbot added the perf-regression Performance regression. label Oct 29, 2021
@pnkfelix
Copy link
Member

pnkfelix commented Nov 2, 2021

Given the list of PR's on this rollup, it seems like PR #90376 is the most likely source of the regression detected in previous comment.

@pnkfelix
Copy link
Member

pnkfelix commented Nov 2, 2021

inflate regressed by 1.2-2.4% in various contexts. All other regressions were less than 1%.

based on manual review of PR #90376, I'm willing to believe that the performance change here is due to code memory alignment artifacts that can be caused by code rearrangement.

@rustbot label: +perf-regression-triaged

@rustbot rustbot added the perf-regression-triaged The performance regression has been triaged. label Nov 2, 2021
@matthiaskrgr matthiaskrgr deleted the rollup-b2x8v0x branch November 20, 2021 15:03
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 Performance regression. perf-regression-triaged The performance regression has been triaged. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants