Extract upperbound calculation · integer00/client_java@95872fc · GitHub
Skip to content

Commit 95872fc

Browse files
DieBauerfstab
authored andcommitted
Extract upperbound calculation
The upperbound is constant for a given quantile. By calculating this once we save O(iterator size * quantiles size) calculations of this constant. Signed-off-by: Jens <jenskat@gmail.com>
1 parent c16d4ae commit 95872fc

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

benchmarks/src/main/java/io/prometheus/client/CKMSQuantileBenchmark.java

Lines changed: 4 additions & 0 deletions

simpleclient/src/main/java/io/prometheus/client/CKMSQuantiles.java

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)