prometheus/tsdb/chunkenc
Bryan Boreham 6788760efa
Reduce memory allocation in benchmarkIterator() (#5983)
Previously it was allocating millions of chunks, all containing the
same 250 samples.  Above some ratio of CPU performance to available
memory, the benchmark cannot run.

Make 250 a const and just allocate one chunk which we iterate
repeatedly till we reach the benchmark count.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2021-07-26 19:36:54 +05:30
..
bstream.go
bstream_test.go
chunk.go
chunk_test.go Reduce memory allocation in benchmarkIterator() (#5983) 2021-07-26 19:36:54 +05:30
xor.go Use binary literals for xor chunk encoding 2021-07-05 16:39:24 +02:00