lib/streamaggr: reduce the number of duplicates per each sample in BenchmarkDedupAggr from 100 to 2

This is closer to typical production setups when deduplication is used for de-duplicating of 2 samples per series.
This commit is contained in:
Aliaksandr Valialkin 2024-06-10 16:19:53 +02:00
parent 84088e5a2d
commit a1e8003754
No known key found for this signature in database
GPG key ID: 52C003EE2BCDB9EB

View file

@ -17,7 +17,7 @@ func BenchmarkDedupAggr(b *testing.B) {
}
func benchmarkDedupAggr(b *testing.B, samplesPerPush int) {
const loops = 100
const loops = 2
benchSamples := newBenchSamples(samplesPerPush)
da := newDedupAggr()