From 228cc878a0f5de19290e8b2035dc4d0019f2a249 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Fri, 22 Dec 2023 13:36:53 -0800 Subject: [PATCH] Add NoFilter to benchmarks --- attribute/set_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/attribute/set_test.go b/attribute/set_test.go index c97e2c1d9e4..dfd69508270 100644 --- a/attribute/set_test.go +++ b/attribute/set_test.go @@ -364,6 +364,7 @@ func BenchmarkFiltering(b *testing.B) { } } + b.Run("NoFilter", run(nil)) b.Run("NoFiltered", run(func(attribute.KeyValue) bool { return true })) b.Run("Filtered", run(func(kv attribute.KeyValue) bool { return kv.Key == "A" })) b.Run("AllDropped", run(func(kv attribute.KeyValue) bool { return false }))