-
Notifications
You must be signed in to change notification settings - Fork 1.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
[Backport 2.x] Performance improvements for BytesRefHash #9554
Conversation
* Performance improvements for BytesRefHash Signed-off-by: Ketan Verma <ketan9495@gmail.com> * Replace BytesRefHash and clean up alternative implementations Signed-off-by: Ketan Verma <ketan9495@gmail.com> * Added t1ha1 to replace xxh3 hash function Signed-off-by: Ketan Verma <ketan9495@gmail.com> * Update t1ha1 to use unsignedMultiplyHigh on JDK 18 and above Signed-off-by: Ketan Verma <ketan9495@gmail.com> * Add link to the reference implementation for t1ha1 Signed-off-by: Ketan Verma <ketan9495@gmail.com> * Annotate t1ha1 with @opensearch.internal Signed-off-by: Ketan Verma <ketan9495@gmail.com> * Run spotless Signed-off-by: Ketan Verma <ketan9495@gmail.com> * Add pre-computed hashes to speed up reinserts Signed-off-by: Ketan Verma <ketan9495@gmail.com> * Refactor HashFunctionTestCase Signed-off-by: Ketan Verma <ketan9495@gmail.com> --------- Signed-off-by: Ketan Verma <ketan9495@gmail.com> (cherry picked from commit 3a8bbe9) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Compatibility status:Checks if related components are compatible with change 48dd012 Incompatible componentsIncompatible components: [https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/performance-analyzer.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/reporting.git] |
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## 2.x #9554 +/- ##
============================================
+ Coverage 70.78% 70.91% +0.12%
- Complexity 57647 57719 +72
============================================
Files 4768 4769 +1
Lines 272388 272461 +73
Branches 40121 40125 +4
============================================
+ Hits 192811 193208 +397
+ Misses 63062 62693 -369
- Partials 16515 16560 +45
|
Backport 3a8bbe9 from #8788.