-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Turn on ConstDebugInfo pass. #107404
Turn on ConstDebugInfo pass. #107404
Conversation
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 01e364ee80f8a6569ffd131f1eaa6cbdd1e2df37 with merge d908afcacb9fa8badcf4d4fb4355dfa77efb81d4... |
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (d908afcacb9fa8badcf4d4fb4355dfa77efb81d4): comparison URL. Overall result: ❌✅ regressions and improvements - no action neededBenchmarking 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 Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis 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.
CyclesResultsThis 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.
|
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #107727) made this pull request unmergeable. Please resolve the merge conflicts. |
883be66
to
b315a4d
Compare
This comment has been minimized.
This comment has been minimized.
b315a4d
to
c64a58c
Compare
This comment has been minimized.
This comment has been minimized.
c64a58c
to
f15c14f
Compare
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
r? compiler |
Tiny, but consistent, regression in debug mode binary size (https://perf.rust-lang.org/compare.html?start=252741673b9c2b06267cd3a036d77489e92f963a&end=d908afcacb9fa8badcf4d4fb4355dfa77efb81d4&stat=size%3Alinked_artifact), but that's ok, just a bit of debuginfo shuffling. @bors r+ |
📌 Commit f15c14f2d6888da6bf4356bb2ab090ee6a658f9b has been approved by It is now in the queue for this repository. |
⌛ Testing commit f15c14f2d6888da6bf4356bb2ab090ee6a658f9b with merge 2c15a814665491718d25a12f8a6473bfbf6f628a... |
💔 Test failed - checks-actions |
⌛ Testing commit 9e90b1ce4a3a71ed6a96d7c5dd61f49db449224f with merge 030b021e1cb3550907c2fa68a2df58e2d4ba836c... |
This comment has been minimized.
This comment has been minimized.
💔 Test failed - checks-actions |
9e90b1c
to
b8c67d8
Compare
@bors r=oli-obk |
☀️ Test successful - checks-actions |
Finished benchmarking commit (9e540df): comparison URL. Overall result: ❌✅ regressions and improvements - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis 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.
CyclesResultsThis 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.
|
@oli-obk: the post-merge results look quite different. Any idea why? |
Well, we add more info to debuginfo, it could be that LLVM now shuffles codegen units differently or just randomly takes more time. We'll need to see if these benchmarks had a single bump or if they are now more noisy. |
Split from #103657
Moving those constant into debuginfo allows to shrink the number of locals and the actual size of the MIR body.