Skip to content

Do not preallocate HirIds #88627

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 2 commits into from
Sep 19, 2021
Merged

Do not preallocate HirIds #88627

merged 2 commits into from
Sep 19, 2021

Conversation

cjgillot
Copy link
Contributor

@cjgillot cjgillot commented Sep 3, 2021

Part of #87234

r? @petrochenkov

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 3, 2021
@cjgillot
Copy link
Contributor Author

cjgillot commented Sep 3, 2021

@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 Sep 3, 2021
@bors
Copy link
Collaborator

bors commented Sep 3, 2021

⌛ Trying commit 1e2bc75ee45f779de054af223bdd30325a37668a with merge ac53b49b37ce0cecc90dc0c264d8d68270af10af...

@bors
Copy link
Collaborator

bors commented Sep 3, 2021

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

@rust-timer
Copy link
Collaborator

Queued ac53b49b37ce0cecc90dc0c264d8d68270af10af with parent 4878034, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit (ac53b49b37ce0cecc90dc0c264d8d68270af10af): comparison url.

Summary: ERROR categorizing benchmark run!

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up.

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

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 4, 2021
@petrochenkov petrochenkov added S-waiting-on-perf Status: Waiting on a perf run to be completed. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 4, 2021
@Mark-Simulacrum Mark-Simulacrum 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 Sep 4, 2021
@Mark-Simulacrum
Copy link
Member

(Perf is now ready)

@petrochenkov
Copy link
Contributor

Aha, here's the style-servo-check regression.

@petrochenkov petrochenkov 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 Sep 4, 2021
@cjgillot
Copy link
Contributor Author

cjgillot commented Sep 6, 2021

This PR also creates a Found unstable fingerprints for opt_def_kind ICE in the incr-patched cherry-pick case. I need to investigate it before this is merged.

@rust-log-analyzer

This comment has been minimized.

@cjgillot
Copy link
Contributor 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 Sep 18, 2021
@bors
Copy link
Collaborator

bors commented Sep 18, 2021

⌛ Trying commit d60bbde with merge 94bf4d541167db3e4c9bf41073fce29fa2e5d3ae...

@bors
Copy link
Collaborator

bors commented Sep 18, 2021

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

@rust-timer
Copy link
Collaborator

Queued 94bf4d541167db3e4c9bf41073fce29fa2e5d3ae with parent 6cdd42f, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (94bf4d541167db3e4c9bf41073fce29fa2e5d3ae): comparison url.

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

  • Moderate improvement in instruction counts (up to -0.7% on incr-patched: println builds of coercions)

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 Sep 18, 2021
@petrochenkov petrochenkov removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 18, 2021
@petrochenkov
Copy link
Contributor

@cjgillot
Could you set the S-waiting-on-review label once this is ready?
I see that you are updating the lowering related PRs from time to time, but I'm not sure whether they are finished or not, so I didn't take any action.

@cjgillot
Copy link
Contributor Author

With the latest perfect results, I believe this one is ready.

@cjgillot cjgillot 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 Sep 18, 2021
@petrochenkov petrochenkov 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 Sep 19, 2021
@cjgillot cjgillot 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 Sep 19, 2021
@petrochenkov
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Sep 19, 2021

📌 Commit d60bbde has been approved by petrochenkov

@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 Sep 19, 2021
@bors
Copy link
Collaborator

bors commented Sep 19, 2021

⌛ Testing commit d60bbde with merge 697118d...

@bors
Copy link
Collaborator

bors commented Sep 19, 2021

☀️ Test successful - checks-actions
Approved by: petrochenkov
Pushing 697118d to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 19, 2021
@bors bors merged commit 697118d into rust-lang:master Sep 19, 2021
@rustbot rustbot added this to the 1.57.0 milestone Sep 19, 2021
@cjgillot cjgillot deleted the noallocuse branch September 19, 2021 16:57
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (697118d): comparison url.

Summary: This change led to moderate relevant mixed results 🤷 in compiler performance.

  • Moderate improvement in instruction counts (up to -0.9% on incr-full builds of coercions)
  • Small regression in instruction counts (up to 0.5% on incr-unchanged builds of webrender-wrench)

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 Sep 19, 2021
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. 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