-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Also cache the stable hash of interned Predicates #94487
Conversation
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit bc9aec18069faf568dcfc3d779d3a8b94be3fda8 with merge 71f04f82da88b092fafcfe3840dc6ba48fcb8586... |
☀️ Try build successful - checks-actions |
Queued 71f04f82da88b092fafcfe3840dc6ba48fcb8586 with parent f0c4da4, future comparison URL. |
Finished benchmarking commit (71f04f82da88b092fafcfe3840dc6ba48fcb8586): comparison url. Summary: This benchmark run shows 81 relevant regressions 😿 to instruction counts.
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 led 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 |
Looks like predicates aren't stable hashed often enough for this to be effective. Maybe we can make regular hashing cheaper by hashing the stable hash instead of the contents? |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 8caeae4ceb40fa79839e74209b5a28a17317de84 with merge 27dd5ee704c0b8bf49220bb45c7799038fb4b08f... |
☀️ Try build successful - checks-actions |
Queued 27dd5ee704c0b8bf49220bb45c7799038fb4b08f with parent 2f8d1a8, future comparison URL. |
cc me |
Finished benchmarking commit (27dd5ee704c0b8bf49220bb45c7799038fb4b08f): comparison url. Summary: This benchmark run shows 5 relevant regressions 😿 to instruction counts.
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 led 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 |
I removed the predicate change, and am still getting
Not sure what is going on. I even see an execution number diff in the ctfe stress test: https://perf.rust-lang.org/detailed-query.html?commit=27dd5ee704c0b8bf49220bb45c7799038fb4b08f&base_commit=2f8d1a835b4e7feaf625f74d0d5cb9b84dbc845a&benchmark=ctfe-stress-4-check&scenario=incr-unchanged @bors try @rust-timer queue let's check if this is really from this PR and not just the usual CTFE stress test noise (which I should investigate independently) |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 96132ccb086e4a808ea158ed774c6a284868b378 with merge 0480b09413a88d9278550a8f1791c9872df9eadd... |
@bors rollup=never this is a perf improvement |
@oli-obk I believe rollup- is a shortcut for that.. or was I wrong? |
I thought |
oh right, my bad. bors.rust-lang.org says that you were right. |
⌛ Testing commit 8582f96 with merge b2a158b62d60b7e0279eb25a674fcf05188bf565... |
💔 Test failed - checks-actions |
@bors retry spurious freshness::move_target_directory_with_path_deps failure
|
The job Click to see the possible cause of the failure (guessed by this bot)
|
⌛ Testing commit 8582f96 with merge 8196101a5b51fd4f5bb9235f6fd35822e8ce0c6d... |
💔 Test failed - checks-actions |
@bors retry shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0} |
The job Click to see the possible cause of the failure (guessed by this bot)
|
☀️ Test successful - checks-actions |
Finished benchmarking commit (bddad59): comparison URL. Overall result: ✅ improvements - no action needed@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.
|
Also cache the stable hash of interned Predicates continuation of rust-lang#94299 This is a small perf improvement and shares more code between `Ty` and `Predicate`
continuation of #94299
This is a small perf improvement and shares more code between
Ty
andPredicate