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

[perf-check] Revert "Rollup merge of #88860 - nbdd0121:panic, r=m-ou-se" #90341

Closed
wants to merge 1 commit into from

Conversation

JohnTitor
Copy link
Member

@JohnTitor JohnTitor commented Oct 27, 2021

This reverts commit f702499, reversing
changes made to 84fe598.

r? @ghost cc #90067 (comment)

@JohnTitor
Copy link
Member Author

@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 Oct 27, 2021
@bors
Copy link
Contributor

bors commented Oct 27, 2021

⌛ Trying commit d751558 with merge cbe7d0ec97e0f4f2e1d300b556ff8bbf2e355f4b...

@bors
Copy link
Contributor

bors commented Oct 27, 2021

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

@rust-timer
Copy link
Collaborator

Queued cbe7d0ec97e0f4f2e1d300b556ff8bbf2e355f4b with parent 47aeac6, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (cbe7d0ec97e0f4f2e1d300b556ff8bbf2e355f4b): comparison url.

Summary: This change led to small relevant improvements 🎉 in compiler performance.

  • Small improvement in instruction counts (up to -1.0% on incr-patched: b9b3e592dd cherry picked builds of style-servo)

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 led to changes in compiler perf.

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

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Oct 27, 2021
@apiraino apiraino added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Oct 28, 2021
@JohnTitor
Copy link
Member Author

@Mark-Simulacrum this does seem to cause the style-servo's regression.

@Mark-Simulacrum
Copy link
Member

Hm. OK. I think these performance results look close to neutral (+/- about the same amount) so we may wish to investigate further but it's also possible we just accept this regression.

cc @m-ou-se -- do you think the cleanup is worth the partial regressions and improvements here?

@jackh726
Copy link
Member

jackh726 commented Dec 4, 2021

I think this is more a T-libs PR than T-compiler.

@jackh726 jackh726 added T-libs Relevant to the library team, which will review and decide on the PR/issue. and removed T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 4, 2021
@JohnCSimon JohnCSimon added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 30, 2022
@JohnCSimon
Copy link
Member

@JohnTitor Can you please address the merge conflicts?

@JohnTitor
Copy link
Member Author

I'd like to see @m-ou-se's (or someone from t-libs) thoughts if this is worth merging before resolving the conflicts.

@m-ou-se
Copy link
Member

m-ou-se commented Mar 6, 2022

Do we know why and how this change affects performance? The perf results don't show a lot of difference.

@JohnTitor
Copy link
Member Author

Do we know why and how this change affects performance? The perf results don't show a lot of difference.

The regression we found is #90067 (comment), according to the bot: Moderate regression in instruction counts (up to 1.1% on incr-patched: b9b3e592dd cherry picked builds of style-servo)
And the perf result here is: Small improvement in instruction counts (up to -1.0% on incr-patched: b9b3e592dd cherry picked builds of style-servo)
So we could assume the regression came from that PR, I think.

@m-ou-se
Copy link
Member

m-ou-se commented Mar 9, 2022

So we could assume the regression came from that PR, I think.

Sure, but do we have any idea how it caused it? The difference is small enough that it could be something unrelated.

@m-ou-se m-ou-se added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Mar 9, 2022
@JohnTitor
Copy link
Member Author

So we could assume the regression came from that PR, I think.

Sure, but do we have any idea how it caused it? The difference is small enough that it could be something unrelated.

Not really, because this PR was created on 27th Oct 2021 and I don't remember the time I investigated. I think you're more familiar with the changes as you're the reviewer of it. Looking at the benchmark code (https://github.com/rust-lang/rustc-perf/tree/master/collector/benchmarks/style-servo) would be helpful. And the point here is if it's worth reverting, I guess.

@Dylan-DPC
Copy link
Member

@JohnTitor do we still need this pr?

@JohnTitor
Copy link
Member Author

JohnTitor commented May 13, 2022

It depends on which is more important, cleanup or performance regression here. I think this is up to @m-ou-se.

@JohnTitor JohnTitor added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 13, 2022
@m-ou-se
Copy link
Member

m-ou-se commented May 16, 2022

Since the impact is minimal and we don't even know how that PR caused the small regression, I think we should just close this.

@m-ou-se m-ou-se closed this May 16, 2022
@JohnTitor JohnTitor deleted the revert-88860 branch May 16, 2022 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants