mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/streamaggr: add a benchmark for de-duplicating of 1M samples
This commit is contained in:
parent
d4a425af87
commit
8daf7a3f43
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func BenchmarkDedupAggr(b *testing.B) {
|
func BenchmarkDedupAggr(b *testing.B) {
|
||||||
for _, samplesPerPush := range []int{1, 10, 100, 1_000, 10_000, 100_000} {
|
for _, samplesPerPush := range []int{1, 10, 100, 1_000, 10_000, 100_000, 1_000_000} {
|
||||||
b.Run(fmt.Sprintf("samplesPerPush_%d", samplesPerPush), func(b *testing.B) {
|
b.Run(fmt.Sprintf("samplesPerPush_%d", samplesPerPush), func(b *testing.B) {
|
||||||
benchmarkDedupAggr(b, samplesPerPush)
|
benchmarkDedupAggr(b, samplesPerPush)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue