Skip to content

Add cache to FoldEscapingRegions - #135783

Merged
bors merged 1 commit into
rust-lang:masterfrom
compiler-errors:cache-in-closure-binder
Jan 26, 2025
Merged

bors merged 1 commit into
rust-lang:masterfrom
compiler-errors:cache-in-closure-binder

Conversation

@compiler-errors

Copy link
Copy Markdown
Contributor

Fixes #135780

ty @lqd for the tests

@rustbot

rustbot commented Jan 20, 2025

Copy link
Copy Markdown
Collaborator

r? @lcnr

rustbot has assigned @lcnr.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@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 Jan 20, 2025
@@ -0,0 +1,22 @@
//@ edition: 2021
//@ check-pass

@lcnr lcnr Jan 21, 2025 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this hanged in a check build?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops, build-pass 💀

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC it was a cute: check-pass but build-fail

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoopsy didn't catch the ci failure

@lcnr

lcnr commented Jan 21, 2025

Copy link
Copy Markdown
Contributor

@bors try @rust-timer queue

r=me after nit + perf

@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 Jan 21, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 21, 2025
…der, r=<try>

Add cache to `FoldEscapingRegions`

Fixes rust-lang#135780

ty `@lqd` for the tests
@bors

bors commented Jan 21, 2025

Copy link
Copy Markdown
Contributor

⌛ Trying commit 433a4a3 with merge f154317...

@bors

bors commented Jan 21, 2025

Copy link
Copy Markdown
Contributor

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

@rust-timer

This comment has been minimized.

@rust-timer

Copy link
Copy Markdown

Finished benchmarking commit (f154317): comparison URL.

Overall result: ❌ regressions - 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 is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
0.3% [0.3%, 0.3%] 2
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary 3.2%, secondary -3.5%)

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)
7.2% [7.2%, 7.2%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.9% [-0.9%, -0.9%] 1
Improvements ✅
(secondary)
-3.5% [-3.5%, -3.5%] 1
All ❌✅ (primary) 3.2% [-0.9%, 7.2%] 2

Cycles

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

Binary size

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

Bootstrap: 764.449s -> 764.76s (0.04%)
Artifact size: 326.06 MiB -> 326.05 MiB (-0.00%)

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Jan 21, 2025
@compiler-errors
compiler-errors force-pushed the cache-in-closure-binder branch from 433a4a3 to aa15ea2 Compare January 21, 2025 17:58
@compiler-errors

Copy link
Copy Markdown
Contributor Author

@bors r=lcnr

@bors

bors commented Jan 21, 2025

Copy link
Copy Markdown
Contributor

📌 Commit aa15ea2 has been approved by lcnr

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 Jan 21, 2025
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 26, 2025
…der, r=lcnr

Add cache to `FoldEscapingRegions`

Fixes rust-lang#135780

ty `@lqd` for the tests
@bors

bors commented Jan 26, 2025

Copy link
Copy Markdown
Contributor

⌛ Testing commit aa15ea2 with merge 4a926fa...

@rust-log-analyzer

This comment has been minimized.

@bors

bors commented Jan 26, 2025

Copy link
Copy Markdown
Contributor

💔 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 Jan 26, 2025
@compiler-errors
compiler-errors force-pushed the cache-in-closure-binder branch from aa15ea2 to d7a6fdc Compare January 26, 2025 18:28
@compiler-errors

Copy link
Copy Markdown
Contributor Author

@bors r=lcnr

@bors

bors commented Jan 26, 2025

Copy link
Copy Markdown
Contributor

📌 Commit d7a6fdc has been approved by lcnr

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 Jan 26, 2025
@bors

bors commented Jan 26, 2025

Copy link
Copy Markdown
Contributor

⌛ Testing commit d7a6fdc with merge f85c6de...

@bors

bors commented Jan 26, 2025

Copy link
Copy Markdown
Contributor

☀️ Test successful - checks-actions
Approved by: lcnr
Pushing f85c6de to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jan 26, 2025
@bors
bors merged commit f85c6de into rust-lang:master Jan 26, 2025
@rustbot rustbot added this to the 1.86.0 milestone Jan 26, 2025
@rust-timer

Copy link
Copy Markdown

Finished benchmarking commit (f85c6de): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

Results (primary 1.7%)

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.7% [1.1%, 2.0%] 5
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 1.7% [1.1%, 2.0%] 5

Cycles

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

Binary size

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

Bootstrap: 773.224s -> 773.35s (0.02%)
Artifact size: 328.21 MiB -> 328.15 MiB (-0.02%)

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.

compilation does not terminate using async closures

7 participants