mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-07 02:56:35 +00:00
*: Implement collector interface for registry perfdata (#1670)
This commit is contained in:
11
internal/perfdata/v1/perflib_test.go
Normal file
11
internal/perfdata/v1/perflib_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package v1
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func BenchmarkQueryPerformanceData(b *testing.B) {
|
||||
for n := 0; n < b.N; n++ {
|
||||
_, _ = QueryPerformanceData("Global")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user