-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Adding benchmark for histogram collector over point range query #14622
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
Running the benchmark showed significant regression for histogram collection over point range query:
|
Then, I realized that while
|
Okay, something weird going on here. Benchmark for matchAll query is as expected:
Even, when I changed the lower/upper bound to match all the documents in PointRangeQuery:
The results with pointsEnabled is fairly consistent, but much different for docValues case, even compared to |
Okay, I was trying to use
This PR is in good shape for review now. |
Merging this change as it primarily adds new benchmark, and small bug fix with significant performance impact (more than 10x). Ran the unit tests locally for 10k iterations to confirm no regressions:
|
* Adding benchmark for histogram collector over point range query * Fixing perf issue when subtree doesnt overlap query for histogram collection
* main: (31 commits) Fix termination condition in TestStressNRTReplication. (apache#14665) deps(java): bump com.gradle.develocity from 3.19 to 3.19.2 (apache#14662) Build: remove hard-coded Java versions from ecj.javadocs.prefs (apache#14651) Update verifier comment to show label (apache#14658) Catch and re-throw Throwable rather than using a success boolean (apache#14633) Mention label in changelog verifier comment (apache#14656) Enable PR actions in changelog verifier (apache#14644) Fix FuzzySet#getEstimatedNumberUniqueValuesAllowingForCollisions to properly account for hashCount (apache#14614) Don't perform additional KNN querying after timeout, fixes apache#14639 (apache#14640) Add instructions to help/IDEs.txt for VSCode and Neovim (apache#14646) build(deps): bump ruff from 0.11.7 to 0.11.8 in /dev-tools/scripts (apache#14603) deps(java): bump de.jflex:jflex from 1.8.2 to 1.9.1 (apache#14583) Use the preload hint on completion fields and memory terms dictionaries. (apache#14634) Clean up FileTypeHint a bit. (apache#14635) Expressions: Improve test to use a fully private class or method Remove deprecations in expressions (apache#14641) removing constructor with deprecated attribute 'onlyLongestMatch (apache#14356) Moving CHANGES entry for apache#14609 from 11.0 to 10.3 (apache#14638) Overrides rewrite in PointRangeQuery to optimize AllDocs/NoDocs cases (apache#14609) Adding benchmark for histogram collector over point range query (apache#14622) ... # Conflicts: # lucene/CHANGES.txt
Description
Adding benchmark for histogram collection over point range query