mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-21 23:43:27 +01:00
Add BenchmarkConvertGroupAndServiceToKey
This commit is contained in:
parent
b88ae5fcf6
commit
7cf1750f86
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")
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user