windows_exporter/internal/perflib/perflib_test.go

12 lines
164 B
Go

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