Closed bboreham closed 1 month ago
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. This shows up in profiles of WAL reading, for instance.
Cherry-pick of https://github.com/prometheus/prometheus/pull/14721
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. This shows up in profiles of WAL reading, for instance.
Cherry-pick of https://github.com/prometheus/prometheus/pull/14721