15 lines
333 B
Go
15 lines
333 B
Go
//go:build windows
|
|
|
|
package hyperv_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prometheus-community/windows_exporter/internal/collector/hyperv"
|
|
"github.com/prometheus-community/windows_exporter/internal/utils/testutils"
|
|
)
|
|
|
|
func BenchmarkCollector(b *testing.B) {
|
|
testutils.FuncBenchmarkCollector(b, hyperv.Name, hyperv.NewWithFlags)
|
|
}
|