-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Abolish QueryVTable
in favour of more assoc items on QueryConfig
#106307
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
r? @oli-obk (rustbot has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 6a3322f82d418c6636a59cb8a972a79fd7e6ca2c with merge f6adf0eb399990bfcacd1f93ed3fce44ec056328... |
r? @jyn514 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me, I would be very interested to see whether this makes try_load_from_disk_and_cache_in_memory
heavier or lighter (that's the third-heaviest function in #65031 (comment)).
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (f6adf0eb399990bfcacd1f93ed3fce44ec056328): 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 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.
CyclesThis benchmark run did not return any relevant results for this metric. |
apparently this makes rustc_query_impl faster to compile ??? I'm not complaining lol |
r=me with #106307 (comment) fixed :) |
6a3322f
to
ab52170
Compare
The compiler got faster. Do you have an idea why? Better optimizations thanks to const propagation? |
Probably this and also less time spent assembling a |
@bors r=jyn514 |
📌 Commit ab52170557766931f24274dc76ed5bec38b59122 has been approved by It is now in the queue for this repository. |
@bors r- i'll address the review feedback first |
ab52170
to
9e1a4a4
Compare
@rustbot ready |
r? @cjgillot |
This may introduce additional mono _but_ may help const fold things better and especially may help not constructing a `QueryVTable` anymore which is cheap but not free.
9e1a4a4
to
9fe4efe
Compare
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (d6f99e5): 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)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. |
This may introduce additional mono but may help const fold things better and especially may help not constructing a
QueryVTable
anymore which is cheap but not free.