Commit Graph

12 Commits

Author SHA1 Message Date
Utkarsh Umesan Pillai 67f01170a0
Update Metrics benchmarks (#4472)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2023-05-09 10:42:46 -04:00
Utkarsh Umesan Pillai 1a026839d2
Metrics Perf Improvement- Use KeyValuePair<string, object>[] to store dimensions (#4059) 2023-01-06 16:20:53 -08:00
Utkarsh Umesan Pillai 3157b5ce12
Remove unnecessary using statements (#4023)
* Remove unnecessary using statements from docs, examples, benchmarks and stress tests
2022-12-20 11:20:15 -08:00
Michael Maxwell 9c3d1b11f8
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>
2022-09-02 11:02:00 -07:00
Michael Maxwell c261a67005
Control `MemoryDiagnoser` benchmark option via CLI instead of code (#3085) 2022-04-12 13:42:33 -07:00
Travis Illig 7ed97be908
Fix analyzers (#3053) 2022-04-01 07:46:32 -07:00
Alan West a709cfd2a9
Clean up metric reader options (#3038) 2022-03-15 07:20:09 -07:00
Travis Illig 2a97920ff0
Fix IDE0090: 'new' expression can be simplified. (#3012)
* Set rule for new() usage.

* Fix IDE0090 "'new' expression can be simplified"
2022-03-10 08:57:53 -08:00
Utkarsh Umesan Pillai abea4b60f6
Minor refactoring (#2987)
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2022-03-07 20:29:17 -08:00
Utkarsh Umesan Pillai ff20a89a37
Update Histogram benchmarks (#2944) 2022-03-01 21:31:25 -08:00
Alan West cbc5172d24
MetricReaderOptions for AddInMemoryExporter extension methods (#2931) 2022-02-23 09:56:00 -08:00
Michael Maxwell fe7b917365
Histogram Record Method Benchmark (#2754) 2022-02-03 16:06:06 -08:00