-
Notifications
You must be signed in to change notification settings - Fork 13.3k
[DO NOT MERGE] Check the perf impact of reverting #139675 #140652
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
Conversation
@bors try @rust-timer queue @rustbot experimental |
This comment has been minimized.
This comment has been minimized.
[DO NOT MERGE] Check the perf impact of reverting rust-lang#139675 According to rust-lang#140633 (comment), the changes in rust-lang#139675 caused many measurable perf regressions. We can double-check that result by benchmarking a revert. --- This reverts commit ed7590f, reversing changes made to 3559e0a. r? ghost
@nnethercote I seem to recall you optimizing handling of LLVM features recently. Do you see something in #139675 that could have such an effect on perf.? Granted most of it is in helloworld.. |
I did a Cachegrind run on the reverted code. A check full build of helloworld improved from 31.75 Minstrs to 28.56 MInstrs. The difference was all in LLVM's I don't know why the difference is so large, though. This change added two new x86 features, @nikic made a change to LLVM that sped up |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (4f2d7b4): comparison URL. Overall result: ✅ 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 the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary 0.3%, secondary 0.8%)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.
CyclesResults (primary -0.4%, secondary -2.7%)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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 769.045s -> 770.62s (0.20%) |
@nnethercote This is probably because avx10.1-512 and avx10.2-512 have a large number of implied features, and that used to matter prior to the referenced llvm PR. |
Closing this PR, as it has served its purpose in confirming the regression. |
According to #140633 (comment), the changes in #139675 caused many measurable perf regressions. We can double-check that result by benchmarking a revert.
This reverts commit ed7590f, reversing changes made to 3559e0a.
r? ghost