Repository navigation
Conversation
|
r? @mejrs rustbot has assigned @mejrs. Use Why was this reviewer chosen?The reviewer was selected based on:
|
69509ff to
5c2931a
Compare
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.
This comment has been minimized.
This comment has been minimized.
Feed query values under state lock
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (176a6a0): comparison URL. Overall result: ❌✅ regressions and improvements - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 0.5%, secondary -1.3%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary -0.6%, secondary -1.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 481.679s -> 480.794s (-0.18%) |
|
We should indeed check the cache under the lock. Not sure about the |
I put it inside the lock so it won't be executed more than once if several threads will be feeding the same query and key. As far as I understand when executing query in incremental mode, in |
|
I looked into it a bit more and there's probably too much code being executed in the lock. We probably want to instead create a |
|
r? petrochenkov |
|
Waiting on author to respond to #162515 (comment). |
|
Reminder, once the PR becomes ready for a review, use |
5c2931a to
370fe51
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
Fixes #162316.
The issue did not reproduced during ~100k launches locally. No significant perf changes on random benchmarks locally, but worth perf run anyway. Explanation can be found in comment.
No llms used.