forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-12982][metrics] improve DescriptiveStatisticsHistogramStatisti…
…cs performance Instead of redirecting DescriptiveStatisticsHistogramStatistics calls to DescriptiveStatistics, it takes a point-in-time snapshot using an own UnivariateStatistic implementation that a) calculates min, max, mean, and standard deviation in one go (as opposed to four iterations over the values array!) b) caches pivots for the percentile calculation to speed up retrieval of multiple percentiles/quartiles As a result, this roughly increases value retrieval performance by 120% when accessing typical statistics in a metrics reporter, e.g. the InfluxDB reporter: count, min, max, mean, stddev, p50, p75, p95, p98, p99, p999.
- Loading branch information
Showing
2 changed files
with
140 additions
and
15 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