mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
6e68046c25
Implement histogram statistics decoder This commit speeds up histogram_count and histogram_sum functions on native histograms. The idea is to have separate decoders which can be used by the engine to only read count/sum values from histogram objects. This should help with reducing allocations when decoding histograms, as well as with speeding up aggregations like sum since they will be done on floats and not on histogram objects. Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com> --------- Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com> Co-authored-by: Anthony Mirabella <a9@aneurysm9.com> |
||
---|---|---|
.. | ||
fuzz-data | ||
parser | ||
promqltest | ||
bench_test.go | ||
engine.go | ||
engine_internal_test.go | ||
engine_test.go | ||
functions.go | ||
functions_test.go | ||
fuzz.go | ||
fuzz_test.go | ||
histogram_stats_iterator.go | ||
histogram_stats_iterator_test.go | ||
promql_test.go | ||
quantile.go | ||
quantile_test.go | ||
query_logger.go | ||
query_logger_test.go | ||
value.go | ||
value_test.go |