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 }