Skip to content

Revert path cmp optimizations #88437

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

Closed
wants to merge 2 commits into from
Closed

Conversation

the8472
Copy link
Member

@the8472 the8472 commented Aug 28, 2021

Check if reverting #86898 undoes the regression since I can't repro it locally

@rust-highfive
Copy link
Contributor

r? @dtolnay

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 28, 2021
@the8472
Copy link
Member Author

the8472 commented Aug 28, 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 Aug 28, 2021
@bors
Copy link
Collaborator

bors commented Aug 28, 2021

⌛ Trying commit fedc776c36acab039e0f7039937b5c32d05c8554 with merge 40292e9b178342a1288597ffd559bb6a9eb9bb3c...

@bors
Copy link
Collaborator

bors commented Aug 28, 2021

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

@rust-timer
Copy link
Collaborator

Queued 40292e9b178342a1288597ffd559bb6a9eb9bb3c with parent 42a2a53, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit (40292e9b178342a1288597ffd559bb6a9eb9bb3c): 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 Aug 29, 2021
@the8472
Copy link
Member Author

the8472 commented Aug 29, 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 Aug 29, 2021
@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@the8472
Copy link
Member Author

the8472 commented Aug 29, 2021

@bors try

@bors
Copy link
Collaborator

bors commented Aug 29, 2021

⌛ Trying commit fedc776c36acab039e0f7039937b5c32d05c8554 with merge 9c90b7f5fdd75c6d642824b981a6bfd1f3be9526...

@bors
Copy link
Collaborator

bors commented Aug 29, 2021

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

@rust-timer
Copy link
Collaborator

Queued 9c90b7f5fdd75c6d642824b981a6bfd1f3be9526 with parent 5eacec9, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit (9c90b7f5fdd75c6d642824b981a6bfd1f3be9526): comparison url.

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

  • Moderate improvement in instruction counts (up to -1.1% on incr-patched: println builds of ripgrep)
  • Small regression in instruction counts (up to 0.4% on full builds of ctfe-stress-4)

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.

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 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-review -S-waiting-on-perf +perf-regression

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Aug 29, 2021
Profiling showed that parse_next_component() does get inlined,
inline the backwards variant to match its perf characteristics
@the8472
Copy link
Member Author

the8472 commented Aug 29, 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 Aug 29, 2021
@bors
Copy link
Collaborator

bors commented Aug 29, 2021

⌛ Trying commit 2faa2ce with merge e12fb3e89f76af4aafbe81b6500bf72424310788...

@bors
Copy link
Collaborator

bors commented Aug 29, 2021

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

@rust-timer
Copy link
Collaborator

Queued e12fb3e89f76af4aafbe81b6500bf72424310788 with parent 59ce765, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit (e12fb3e89f76af4aafbe81b6500bf72424310788): comparison url.

Summary: This benchmark run did not return any relevant changes.

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.

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

@rustbot rustbot removed S-waiting-on-perf Status: Waiting on a perf run to be completed. perf-regression Performance regression. labels Aug 29, 2021
@the8472
Copy link
Member Author

the8472 commented Aug 29, 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 Aug 29, 2021
@bors
Copy link
Collaborator

bors commented Aug 29, 2021

⌛ Trying commit 973ff717ada5ebd55bf404c41dd3b985d6b6f22d with merge 9bb7d99f1e59d5596318d2be25232e97daf26778...

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Aug 29, 2021

💔 Test failed - checks-actions

@bors bors 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 Aug 29, 2021
@the8472
Copy link
Member Author

the8472 commented Aug 29, 2021

@bors try

@bors
Copy link
Collaborator

bors commented Aug 29, 2021

⌛ Trying commit f8a284e with merge 5f3d903d50eebe049b1b5f5b6a10fea300365185...

@bors
Copy link
Collaborator

bors commented Aug 29, 2021

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

@rust-timer
Copy link
Collaborator

Queued 5f3d903d50eebe049b1b5f5b6a10fea300365185 with parent daa4dc9, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit (5f3d903d50eebe049b1b5f5b6a10fea300365185): comparison url.

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

  • Small improvement in instruction counts (up to -0.4% on incr-patched: add vec item builds of deep-vector)
  • Small regression in instruction counts (up to 0.5% on incr-patched: add static arr item 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.

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 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-review -S-waiting-on-perf +perf-regression

@rustbot rustbot added perf-regression Performance regression. 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 Aug 29, 2021
@the8472 the8472 closed this Sep 16, 2021
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-author Status: This is awaiting some action (such as code changes or more information) from the author. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants