mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00:00
Add BenchmarkConvertGroupAndServiceToKey
This commit is contained in:
parent
b88ae5fcf6
commit
7cf1750f86
1 changed files with 11 additions and 0 deletions
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 a new issue