mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
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:
parent
84088e5a2d
commit
a1e8003754
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ func BenchmarkDedupAggr(b *testing.B) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func benchmarkDedupAggr(b *testing.B, samplesPerPush int) {
|
func benchmarkDedupAggr(b *testing.B, samplesPerPush int) {
|
||||||
const loops = 100
|
const loops = 2
|
||||||
benchSamples := newBenchSamples(samplesPerPush)
|
benchSamples := newBenchSamples(samplesPerPush)
|
||||||
da := newDedupAggr()
|
da := newDedupAggr()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue