-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Use CS PGO for LLVM #111806
Use CS PGO for LLVM #111806
Conversation
@bors try |
⌛ Trying commit 8fb3161 with merge 0a75e5fcd9e451d84f9810109a6ac60257e49322... |
☀️ Try build successful - checks-actions |
@rust-timer build 0a75e5fcd9e451d84f9810109a6ac60257e49322 |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (0a75e5fcd9e451d84f9810109a6ac60257e49322): comparison URL. Overall result: ❌ regressions - 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. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 642.813s -> 707.353s (10.04%) |
@bors try |
⌛ Trying commit 71c2376 with merge e1b0e5eae0e9416ffbd8cb434eb32756de11d563... |
☀️ Try build successful - checks-actions |
@rust-timer build e1b0e5eae0e9416ffbd8cb434eb32756de11d563 |
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 282dec1 with merge 69dea58a6c752143682fb9231f2398ed11df566d... |
☀️ Try build successful - checks-actions |
Finished benchmarking commit (e1b0e5eae0e9416ffbd8cb434eb32756de11d563): comparison URL. Overall result: ❌ regressions - 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. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 643.403s -> 707.811s (10.01%) |
@rust-timer build 69dea58a6c752143682fb9231f2398ed11df566d |
This comment has been minimized.
This comment has been minimized.
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit bac84d35c3b30b4f595cbfa2ad65d0e4fa7e40cf with merge 0ca9584f6f65865e868c62b1274dd67b1bde930c... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (0ca9584f6f65865e868c62b1274dd67b1bde930c): comparison URL. Overall result: ❌ regressions - 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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 644.363s -> 643.206s (-0.18%) |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 21d4c2d with merge f88803760f77562ed93ee33f27a94bb5d54bc88a... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (f88803760f77562ed93ee33f27a94bb5d54bc88a): comparison URL. Overall result: ❌ regressions - 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. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 646.753s -> 650.26s (0.54%) |
@Kobzol Am I right that according to the testing above, CS PGO does not bring additional performance improvement for Rustc compared to the "usual" PGO? |
It's weird, since it seems to gain improvements for others that are doing it (Google), and we use it for LLVM, not for rustc, where it is also supposed to provide benefits. There were a few perf. runs where it was a win (on an older PR), but I can't manage to reproduce it. |
It seems that CSIR PGO is just not worth it if BOLT is also used (https://aaupov.github.io/blog/2023/07/09/pgo). Closing. |
Revival of #97153. I want to try how it behaves now, with CS IR instrumentation mode.
r? @ghost