mirror of
https://github.com/TwiN/gatus.git
synced 2025-07-15 21:55:30 +02:00
Add BenchmarkConvertGroupAndServiceToKey
This commit is contained in:
11
util/key_bench_test.go
Normal file
11
util/key_bench_test.go
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
package util
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
)
|
||||||
|
|
||||||
|
func BenchmarkConvertGroupAndServiceToKey(b *testing.B) {
|
||||||
|
for n := 0; n < b.N; n++ {
|
||||||
|
ConvertGroupAndServiceToKey("group", "service")
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user