prometheus/tsdb/index
Bryan Boreham 3da2c99ffd tsdb/index: don't call ExpandPostings in a benchmark
This allocates memory for all the returned values, which skews the
result. We aren't trying to benchmark `ExpandPostings`, so just step
through all the values without storing them to consume them.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2023-01-03 15:26:29 +00:00
..
index.go Simplify IndexReader.Series interface 2022-12-19 15:22:09 +00:00
index_test.go Simplify IndexReader.Series interface 2022-12-19 15:22:09 +00:00
postings.go Update package tsdb/index for new labels.Labels type 2022-12-19 15:22:09 +00:00
postings_test.go tsdb/index: don't call ExpandPostings in a benchmark 2023-01-03 15:26:29 +00:00
postingsstats.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
postingsstats_test.go Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00