summaryrefslogtreecommitdiffhomepage
path: root/net/netmon/interfaces_windows_test.go
blob: 13526612eb477bd02590d1d6aa7bdfe376fb92dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause

package netmon

import "testing"

func BenchmarkGetPACWindows(b *testing.B) {
	b.ReportAllocs()
	for i := range b.N {
		v := getPACWindows()
		if i == 0 {
			b.Logf("Got: %q", v)
		}
	}
}