Repository navigation
[MOD-14948] TopK Numeric micro benchmarks - #10724
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #10724 +/- ##
==========================================
- Coverage 83.00% 82.05% -0.96%
==========================================
Files 607 632 +25
Lines 80798 82045 +1247
Branches 35690 37223 +1533
==========================================
+ Hits 67068 67323 +255
- Misses 13391 14379 +988
- Partials 339 343 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
f41fed4 to
1800f22
Compare
0ad3746 to
094b902
Compare
1800f22 to
da6fd3c
Compare
094b902 to
a2c0830
Compare
da6fd3c to
9f0e6d7
Compare
a2c0830 to
ef61aaa
Compare
9390845 to
617bf50
Compare
b397cf8 to
c60ec1b
Compare
617bf50 to
660d79c
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 660d79ccc8
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
c60ec1b to
8a5d1a8
Compare
660d79c to
67cff97
Compare
Drives the real C OptimizerIterator through a shim over the same range tree, doc table and search context the Rust source reads, so both sides share one fixture. A preflight asserts both return the same result count before any timing is recorded.
67cff97 to
e646de5
Compare
|



This PR adds benchmarks to compare Rust against C implementation for numeric top K.
Current findings are that current Rust implementation is slower⚠️ ; but below is a list of possible improvements we'll tackle in follow ups, where cumulative improvements are promising.
Noise is around 4%, table reports median times
Follow ups:
emitted: HashSet<DocId>if the index is not for multi value fields #10746Details
kinstead of leaving it unbounded (was resolving the wholefield, then materializing 8 ranges before the heap could stop it).
document can only be reached twice by a value-ordered scan if it carries several values.
decoded.
Final:
Mark if applicable
Release Notes
If a release note is required (bug fix / new feature / enhancement), describe the user impact of this PR in the title.