Files
windows_exporter/internal/pdh/registry/perflib_test.go
Jan-Otto Kröpke a9f8b3b722 process: Use registry collector for V1 data (#1814)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2024-12-21 22:58:47 +01:00

12 lines
169 B
Go

package registry
import (
"testing"
)
func BenchmarkQueryPerformanceData(b *testing.B) {
for n := 0; n < b.N; n++ {
_, _ = QueryPerformanceData("Global", "")
}
}