summaryrefslogtreecommitdiffhomepage
path: root/version/distro/distro_test.go
blob: f3460a180edc2aa4de323e1f34add80ce8278177 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (c) Tailscale Inc & contributors
// SPDX-License-Identifier: BSD-3-Clause

package distro

import "testing"

func BenchmarkGet(b *testing.B) {
	b.ReportAllocs()
	var d Distro
	for range b.N {
		d = Get()
	}
	_ = d
}