0

increase the accuracy of effective visibilities calculation by Bryanskiy · Pull...

 1 year ago
source link: https://github.com/rust-lang/rust/pull/112426
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

increase the accuracy of effective visibilities calculation #112426

Conversation

Contributor

Effective visibilities are calculated lazily due to performance restrictions. Therefore

  • crate should be walked at least 1 time in compute_effective_visibilities pass
  • Impl's should always be in the effective visibilities table

to ensure that the table is filled in correctly.

r? @petrochenkov

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

Jun 8, 2023

This comment has been minimized.

Contributor

@bors r+

Contributor

pushpin Commit 5e917a6 has been approved by petrochenkov

It is now in the queue for this repository.

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

Jun 8, 2023

Contributor

hourglass Testing commit 5e917a6 with merge 2961177...

Contributor

sunny Test successful - checks-actions
Approved by: petrochenkov
Pushing 2961177 to master...

bors

added the merged-by-bors This PR was explicitly merged by bors label

Jun 10, 2023

bors

merged commit 2961177 into

rust-lang:master

Jun 10, 2023

12 checks passed

Collaborator

Finished benchmarking commit (2961177): comparison URL.

Overall result: x regressions - ACTION NEEDED

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
cc @rust-lang/wg-compiler-performance

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 x
(primary)
0.4% [0.2%, 0.6%] 10
Regressions x
(secondary)
1.2% [0.6%, 1.9%] 9
Improvements white_check_mark
(primary)
- - 0
Improvements white_check_mark
(secondary)
- - 0
All xwhite_check_mark (primary) 0.4% [0.2%, 0.6%] 10

Max RSS (memory usage)

Results

Cycles

Results

Binary size

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

Bootstrap: 649.217s -> 648.751s (-0.07%)

rustbot

added the perf-regression Performance regressions label

Jun 10, 2023

Member

  • primary regressions are to serde (check, debug, opt) and also cargo + webrender (both check)
  • This PR added some extra work to the compiler to ensure some lazily-filled in tables are constructed correctly.
  • Therefore, this seems like extra work that is largely unavoidable.
  • marking as triaged.

@rustbot label: +perf-regression-triaged

rustbot

added the perf-regression-triaged The performance regression has been triaged. label

Jun 13, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Labels
merged-by-bors This PR was explicitly merged by bors perf-regression Performance regressions perf-regression-triaged The performance regression has been triaged. 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

Milestone

1.72.0

Development

Successfully merging this pull request may close these issues.

None yet

7 participants

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK