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

Symbols: do not write string values of preinterned symbols into compiled artifacts #100803

Merged
merged 2 commits into from
Aug 24, 2022

Conversation

klensy
Copy link
Contributor

@klensy klensy commented Aug 20, 2022

r? @bjorn3

Followup for #98851

#98851 (comment)

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Aug 20, 2022
@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 20, 2022
@bjorn3
Copy link
Member

bjorn3 commented Aug 20, 2022

@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 20, 2022
@bors
Copy link
Contributor

bors commented Aug 20, 2022

⌛ Trying commit f632948 with merge 423e05459f010d46d562ac19bc28630bddef001d...

@bors
Copy link
Contributor

bors commented Aug 20, 2022

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

@rust-timer
Copy link
Collaborator

Queued 423e05459f010d46d562ac19bc28630bddef001d with parent dd01122, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (423e05459f010d46d562ac19bc28630bddef001d): comparison url.

Instruction count

  • Primary benchmarks: ✅ relevant improvements found
  • Secondary benchmarks: ✅ relevant improvements found
mean1 max count2
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.7% -2.6% 26
Improvements ✅
(secondary)
-1.5% -2.5% 26
All ❌✅ (primary) -0.7% -2.6% 26

Max RSS (memory usage)

Results
  • Primary benchmarks: mixed results
  • Secondary benchmarks: mixed results
mean1 max count2
Regressions ❌
(primary)
2.4% 2.4% 2
Regressions ❌
(secondary)
4.2% 6.8% 2
Improvements ✅
(primary)
-2.7% -2.7% 1
Improvements ✅
(secondary)
-2.0% -2.9% 5
All ❌✅ (primary) 0.7% -2.7% 3

Cycles

Results
  • Primary benchmarks: mixed results
  • Secondary benchmarks: mixed results
mean1 max count2
Regressions ❌
(primary)
2.1% 2.1% 1
Regressions ❌
(secondary)
4.7% 4.7% 1
Improvements ✅
(primary)
-2.7% -3.5% 4
Improvements ✅
(secondary)
-3.1% -3.8% 14
All ❌✅ (primary) -1.7% -3.5% 5

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

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

Footnotes

  1. the arithmetic mean of the percent change 2 3

  2. number of relevant changes 2 3

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Aug 20, 2022
@bjorn3
Copy link
Member

bjorn3 commented Aug 20, 2022

@bors r+ rollup=never

@bors
Copy link
Contributor

bors commented Aug 20, 2022

📌 Commit f632948 has been approved by bjorn3

It is now in the queue for this repository.

@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 Aug 20, 2022
@pnkfelix
Copy link
Member

This PR addresses a performance regression injected by #98851, so I'm going to up its priority to ensure it gets in well before the aforementioned regression can cause too many problems.

@bors p=3

@matthiaskrgr
Copy link
Member

moving before the rollup @bors p=20

@bors
Copy link
Contributor

bors commented Aug 24, 2022

⌛ Testing commit f632948 with merge ebfc7aa...

@bors
Copy link
Contributor

bors commented Aug 24, 2022

☀️ Test successful - checks-actions
Approved by: bjorn3
Pushing ebfc7aa to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Aug 24, 2022
@bors bors merged commit ebfc7aa into rust-lang:master Aug 24, 2022
@rustbot rustbot added this to the 1.65.0 milestone Aug 24, 2022
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (ebfc7aa): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

This is a highly reliable metric that was used to determine the overall result at the top of this comment.

mean1 range count2
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.6% [-2.5%, -0.2%] 35
Improvements ✅
(secondary)
-1.7% [-2.6%, -0.3%] 24
All ❌✅ (primary) -0.6% [-2.5%, -0.2%] 35

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.

mean1 range count2
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
2.9% [2.9%, 2.9%] 1
Improvements ✅
(primary)
-3.0% [-3.0%, -3.0%] 1
Improvements ✅
(secondary)
-2.4% [-2.4%, -2.4%] 2
All ❌✅ (primary) -3.0% [-3.0%, -3.0%] 1

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.

mean1 range count2
Regressions ❌
(primary)
2.6% [2.1%, 3.0%] 2
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.0% [-2.0%, -2.0%] 1
All ❌✅ (primary) 2.6% [2.1%, 3.0%] 2

Footnotes

  1. the arithmetic mean of the percent change 2 3

  2. number of relevant changes 2 3

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. 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
Development

Successfully merging this pull request may close these issues.

8 participants