prometheus/storage
beorn7 717a3f8e25 storage: Manually expand `genericAdd` for specific types
This commit is doing what I would have expected that Go generics do
for me. However, the PromQL benchmarks show a significant runtime and
allocation increase with `genericAdd`, so this replaces it with
hand-coded non-generic versions of it.

Signed-off-by: beorn7 <beorn@grafana.com>
2023-04-13 19:25:24 +02:00
..
remote Merge pull request #12192 from leizor/leizor/prometheus/issues/11204 2023-04-11 12:30:35 +02:00
buffer.go storage: Manually expand `genericAdd` for specific types 2023-04-13 19:25:24 +02:00
buffer_test.go Name float values as "floats", not as "values" 2023-04-13 19:25:24 +02:00
fanout.go Support FloatHistogram in TSDB (#11522) 2022-12-28 14:25:07 +05:30
fanout_test.go storage: allow re-use of iterators 2022-12-15 18:32:45 +00:00
generic.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
interface.go Support FloatHistogram in TSDB (#11522) 2022-12-28 14:25:07 +05:30
lazy.go
memoized_iterator.go Merge branch 'main' into sparsehistogram 2021-12-15 13:49:33 +01:00
memoized_iterator_test.go storage: Use separate sample types for histogram vs. float 2023-04-13 19:25:24 +02:00
merge.go histograms: Fix counter reset header during merging 2023-01-25 18:23:10 +01:00
merge_test.go storage: Use separate sample types for histogram vs. float 2023-04-13 19:25:24 +02:00
noop.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
secondary.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
series.go Name float values as "floats", not as "values" 2023-04-13 19:25:24 +02:00
series_test.go storage: Use separate sample types for histogram vs. float 2023-04-13 19:25:24 +02:00