-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Use dynamic dispatch for query execution #108526
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
This could use a perf run to see its effect on |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 19c7884ee24c883bd24e048a2728cd6ac0f8b1d2 with merge fd08a565224759afdc41a012b3270abc858f00f2... |
19c7884
to
f6400d6
Compare
f6400d6
to
5230574
Compare
The job Click to see the possible cause of the failure (guessed by this bot)
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 5230574 with merge cf093a14c8d618af163dae77af15c1e3321bbd7a... |
☀️ Try build successful - checks-actions |
1 similar comment
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (cf093a14c8d618af163dae77af15c1e3321bbd7a): comparison URL. Overall result: ❌ regressions - 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.
|
This uses dynamic dispatch such that queries with the same key and value can use the same code. This is done by using a
DynamicConfig
which implementsQueryConfig
and carries a pointer to aDynamicQuery
.Based on #108167.
Split out from #107937.
Performance is close to neutral for non-incremental:
Incremental unchanged seems to suffer a bit:
cc @cjgillot
r? @ghost