Skip to content
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

Use binary search for histograms with LOTS of buckets #3248

Closed
mic-max opened this issue May 3, 2022 · 0 comments · Fixed by #3252
Closed

Use binary search for histograms with LOTS of buckets #3248

mic-max opened this issue May 3, 2022 · 0 comments · Fixed by #3252
Labels
enhancement New feature or request

Comments

@mic-max
Copy link
Contributor

mic-max commented May 3, 2022

We found out some customers are using histograms with 10k+ buckets in some cases, they would likely benefit from a faster bucket finding algorithm. This issue is to increase performance for histograms with lots of buckets. We estimate that ~140 will be the amount above that we will switch from linear to binary search.

Related PR that adds histogram benchmark #2754

@mic-max mic-max added the enhancement New feature or request label May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant