interfaces_windows_test.go 271 B

12345678910111213141516
  1. // Copyright (c) Tailscale Inc & AUTHORS
  2. // SPDX-License-Identifier: BSD-3-Clause
  3. package netmon
  4. import "testing"
  5. func BenchmarkGetPACWindows(b *testing.B) {
  6. b.ReportAllocs()
  7. for i := range b.N {
  8. v := getPACWindows()
  9. if i == 0 {
  10. b.Logf("Got: %q", v)
  11. }
  12. }
  13. }