mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-08 05:56:37 +00:00
12 lines
164 B
Go
12 lines
164 B
Go
package perflib
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func BenchmarkQueryPerformanceData(b *testing.B) {
|
|
for n := 0; n < b.N; n++ {
|
|
_, _ = QueryPerformanceData("Global")
|
|
}
|
|
}
|