-
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
Create a single value cache for the () query key #107643
Conversation
(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 0b5596289641e0a47ca3d884f307a7e96bdfc151 with merge 9b74d0d9d6c9601238b6a07f19da4ca467e78dcd... |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit ba143bc3067c723344af9cdd305732d909f12597 with merge b3fa81ef1f2c856493537937ac8080386c81739a... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (b3fa81ef1f2c856493537937ac8080386c81739a): comparison URL. Overall result: ❌✅ regressions and improvements - 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.
|
My pending review was asking for a version with arena, but considering this discussion https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/.60arena_cache.60.20query.20option Perf is neutral-green, within <1% range. @bors r+ |
📌 Commit ba143bc3067c723344af9cdd305732d909f12597 has been approved by It is now in the queue for this repository. |
While instructions ok, max-rss not so neutral. |
⌛ Testing commit ba143bc3067c723344af9cdd305732d909f12597 with merge 788404bfb6f4f482a386e1306606a5fe59ed273f... |
💔 Test failed - checks-actions |
@bors retry curl: (6) Could not resolve host: ci-mirrors.rust-lang.org |
⌛ Testing commit ba143bc3067c723344af9cdd305732d909f12597 with merge 9550d95507c1c9af656f32551702ab3e9f1b9d49... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (5b8f284): comparison URL. Overall result: ❌✅ regressions and 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.
CyclesThis benchmark run did not return any relevant results for this metric. |
Since queries using
()
as the key can only store a single value, specialize for that case.This looks like a minor performance improvement: