From 8daf7a3f43dbb9e40b42e7ce56068fca441f8933 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 4 Mar 2024 00:26:59 +0200 Subject: [PATCH] lib/streamaggr: add a benchmark for de-duplicating of 1M samples --- lib/streamaggr/dedup_timing_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/streamaggr/dedup_timing_test.go b/lib/streamaggr/dedup_timing_test.go index 85e9db78e..46045043c 100644 --- a/lib/streamaggr/dedup_timing_test.go +++ b/lib/streamaggr/dedup_timing_test.go @@ -7,7 +7,7 @@ import ( ) 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) { benchmarkDedupAggr(b, samplesPerPush) })