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

revert for benchmark #118436

Closed

Conversation

bvanjoi
Copy link
Contributor

@bvanjoi bvanjoi commented Nov 29, 2023

This PR reverts #118311 and #118188, with the intent to assess the performance impact brought about by #118311

@rustbot
Copy link
Collaborator

rustbot commented Nov 29, 2023

r? @WaffleLapkin

(rustbot has picked a reviewer for you, use r? to override)

@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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Nov 29, 2023
@rustbot
Copy link
Collaborator

rustbot commented Nov 29, 2023

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

@lqd
Copy link
Member

lqd commented Nov 29, 2023

@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 Nov 29, 2023
@lqd lqd marked this pull request as draft November 29, 2023 07:00
@bors
Copy link
Contributor

bors commented Nov 29, 2023

⌛ Trying commit 6caa433 with merge b28572e...

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 29, 2023
…e_3, r=<try>

revert for benchmark

This PR reverts rust-lang#118311 and rust-lang#118188, with the intent to assess the performance impact brought about by rust-lang#118311
@bors
Copy link
Contributor

bors commented Nov 29, 2023

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

@rust-timer

This comment has been minimized.

@pnkfelix
Copy link
Member

(As I mentioned on #118311 (comment), I don't think that measuring the effect of reverting both PR #118311 and PR #118188 will not tell us much about the performance impact of reverting PR #118311, because PR #118188 itself introduced a number of performance improvements, and so reverting that will presumably induce regressions that could well mask the effect we are trying to determine.)

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (b28572e): comparison URL.

Overall result: ❌✅ regressions and improvements - 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.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

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)
0.3% [0.1%, 0.4%] 22
Regressions ❌
(secondary)
0.6% [0.1%, 1.1%] 33
Improvements ✅
(primary)
-0.3% [-0.4%, -0.3%] 7
Improvements ✅
(secondary)
-0.4% [-0.5%, -0.3%] 6
All ❌✅ (primary) 0.1% [-0.4%, 0.4%] 29

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)
2.2% [2.2%, 2.2%] 1
Regressions ❌
(secondary)
1.2% [1.2%, 1.2%] 1
Improvements ✅
(primary)
-5.2% [-7.6%, -0.8%] 3
Improvements ✅
(secondary)
-3.0% [-4.6%, -1.6%] 13
All ❌✅ (primary) -3.4% [-7.6%, 2.2%] 4

Cycles

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)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-1.3% [-1.3%, -1.3%] 1
Improvements ✅
(secondary)
-2.5% [-2.7%, -2.2%] 5
All ❌✅ (primary) -1.3% [-1.3%, -1.3%] 1

Binary size

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

Bootstrap: 674.352s -> 672.281s (-0.31%)
Artifact size: 313.40 MiB -> 313.37 MiB (-0.01%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Nov 29, 2023
@bvanjoi
Copy link
Contributor Author

bvanjoi commented Dec 6, 2023

We can draw two conclusions from this PR and #118411:

@bvanjoi
Copy link
Contributor Author

bvanjoi commented Dec 6, 2023

So, should we consider merging #118411?

cc @petrochenkov @pnkfelix

@petrochenkov
Copy link
Contributor

I wasn't assigned to this PR, so I forgot about it entirely.
This revert served its purpose, so it can be closed now.
#118411 should be reviewed and merged in some form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf-regression Performance regression. 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants