Skip to content

Commit

Permalink
perf: significantly improve the memory usage of histogram (changelog)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Shappir committed Feb 6, 2024
1 parent 7c2cc63 commit 25a29cd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@ project adheres to [Semantic Versioning](http://semver.org/).

### Changed

- Improve the memory usage of histograms by delaying allocation of bucket counters in `bucketValues` until their value is > 0
(Use a prototype of the initial counters)
- Improve the memory usage of histograms by allocating empty `enableExemplars` instead of pre-filling with `null`
- Minor performance improvements:
- Uvoid unneeded hash table updates
- Avoid hash table lookup for examplars

### Added

## [Unreleased]

### Breaking

### Changed

- Improve the memory usage of histograms when the `enableExemplars` option is disabled

### Added
Expand Down

0 comments on commit 25a29cd

Please sign in to comment.