diff --git a/util/key_bench_test.go b/util/key_bench_test.go new file mode 100644 index 00000000..6c1fc2b5 --- /dev/null +++ b/util/key_bench_test.go @@ -0,0 +1,11 @@ +package util + +import ( + "testing" +) + +func BenchmarkConvertGroupAndServiceToKey(b *testing.B) { + for n := 0; n < b.N; n++ { + ConvertGroupAndServiceToKey("group", "service") + } +}