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

Fast-path some binder relations #105350

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

compiler-errors
Copy link
Member

A simpler approach than #104598

Fixes #104583

r? types

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 6, 2022
@compiler-errors compiler-errors changed the title Faster binder relate Fast-path some binder relations Dec 6, 2022
@compiler-errors
Copy link
Member Author

This should come back with no results or just noise, but just checking

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

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

bors commented Dec 6, 2022

⌛ Trying commit bc38fb773ceb25cabc71eb6208851d6ae497058f with merge fdaf42429e363c2a506d6f07a245113ace957519...

@bors
Copy link
Contributor

bors commented Dec 6, 2022

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

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (fdaf42429e363c2a506d6f07a245113ace957519): comparison URL.

Overall result: no relevant changes - no action needed

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-perf -perf-regression

Instruction count

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

Max RSS (memory usage)

Results

This 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.

mean range count
Regressions ❌
(primary)
1.3% [0.1%, 2.5%] 2
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-4.7% [-7.0%, -2.4%] 2
All ❌✅ (primary) 1.3% [0.1%, 2.5%] 2

Cycles

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

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Dec 6, 2022
@spastorino
Copy link
Member

Seems good to me but leaving it up for someone else to re-check.

r? types

@rustbot rustbot assigned oli-obk and unassigned spastorino Dec 12, 2022
@oli-obk
Copy link
Contributor

oli-obk commented Dec 12, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Dec 12, 2022

📌 Commit bc38fb773ceb25cabc71eb6208851d6ae497058f has been approved by oli-obk

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 Dec 12, 2022
@bors
Copy link
Contributor

bors commented Dec 13, 2022

⌛ Testing commit bc38fb773ceb25cabc71eb6208851d6ae497058f with merge 513701544d9ac79f0ab94f3907bcdebd649c561d...

@bors
Copy link
Contributor

bors commented Dec 13, 2022

💔 Test failed - checks-actions

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

Just needed a bless after Esteban's large type sizes PR

@bors r=oli-obk

@bors
Copy link
Contributor

bors commented Dec 13, 2022

📌 Commit 2025a96 has been approved by oli-obk

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 Dec 13, 2022
@bors
Copy link
Contributor

bors commented Dec 13, 2022

⌛ Testing commit 2025a96 with merge 109cccb...

@bors
Copy link
Contributor

bors commented Dec 13, 2022

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

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 13, 2022
@bors bors merged commit 109cccb into rust-lang:master Dec 13, 2022
@rustbot rustbot added this to the 1.68.0 milestone Dec 13, 2022
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (109cccb): comparison URL.

Overall result: ❌ regressions - ACTION NEEDED

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
cc @rust-lang/wg-compiler-performance

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
1.1% [1.0%, 1.2%] 2
Regressions ❌
(secondary)
2.3% [2.0%, 2.7%] 6
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 1.1% [1.0%, 1.2%] 2

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.

@rustbot rustbot added the perf-regression Performance regression. label Dec 13, 2022
@lqd
Copy link
Member

lqd commented Dec 13, 2022

I won't mark it as triaged now, but I'm pretty sure this is noise, and these benchmarks returning to their stable state: basically the opposite of the wins in #105436 (comment). We can look at these benchmarks' numbers in a few merged PRs (or by weekly triage) to make sure, but this has happened before.

@compiler-errors
Copy link
Member Author

I'm pretty certain this is noise, yeah.

@rylev
Copy link
Member

rylev commented Dec 13, 2022

Marking as resolved. The regression cancel out the improvements in the exact same test cases from the previous commit which is a very strong indicator that this is noise.

@rustbot label: +perf-regression-triaged

@rustbot rustbot added the perf-regression-triaged The performance regression has been triaged. label Dec 13, 2022
@rust-log-analyzer

This comment has been minimized.

@compiler-errors compiler-errors deleted the faster-binder-relate branch August 11, 2023 20:01
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. 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.

Exponential compile time with nested &dyn Fn type
9 participants