-
Notifications
You must be signed in to change notification settings - Fork 772
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Binary search for large bucket count histograms (#3252)
* Binary search for large bucket count histograms * Update CHANGELOG.md * netcoreapp3.1 was complaining * ci rerun * ci rerun * Update MetricTestData.cs * use 400 buckets * Update ExplicitBucketHistogramConfiguration.cs Binary search for large bucket count histograms Update CHANGELOG.md netcoreapp3.1 was complaining ci rerun ci rerun Update MetricTestData.cs use 400 buckets * separate nan part * Address PR comments - Remove conversion to float from `FindHistogramBucketIndexBinary` - Make `DefaultHistogramCountForBinarySearch` a `const` instead of a `static readonly` * update to 140 * remove double.nan from invalid hist bounds * Refactor and perf to histogram bucket index find Thanks to @CodeBlanch !! * fine tune bound limit to switch to binary search * included benchmark results in comment * new bench result * histogram stress test update * fix changelog * spacing fix * sealed bucket class * ci * double.negative infinity * update order of operations when testing with large MaxValue this would end up having same value bounds * remove stress test change * ci * Add histogram binary mode tests * ci * pr review changes * allocated column - hist benchmark * CI Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com> Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
- Loading branch information
1 parent
db0918e
commit 9c3d1b1
Showing
5 changed files
with
172 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters