prometheus/tsdb/index
Bryan Boreham 33adbe47b1 [PERF] TSDB: Grow postings by doubling
Go's built-in append() grows larger slices with factor 1.3, which means we do a lot more allocating and copying for larger postings.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-08-24 11:16:58 +01:00
..
index.go add unit test 2024-06-16 12:09:42 -07:00
index_test.go add unit test 2024-06-16 12:09:42 -07:00
postings.go [PERF] TSDB: Grow postings by doubling 2024-08-24 11:16:58 +01:00
postings_test.go Pass affected labels to MemPostings.Delete() (#14307) 2024-06-18 10:28:56 +00:00
postingsstats.go Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 2024-02-28 14:54:53 +01:00
postingsstats_test.go Upgrade golangci-lint to v1.60.1 2024-08-18 12:13:25 +02:00