From 7cf1750f86f29c575f7ab08da4ad865b29bbec08 Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Fri, 16 Jul 2021 21:32:24 -0400 Subject: [PATCH] Add BenchmarkConvertGroupAndServiceToKey --- util/key_bench_test.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 util/key_bench_test.go 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") + } +}