You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net
Josh Bleecher Snyder 94fb42d4b2 all: use testingutil.MinAllocsPerRun
There are a few remaining uses of testing.AllocsPerRun:
Two in which we only log the number of allocations,
and one in which dynamically calculate the allocations
target based on a different AllocsPerRun run.

This also allows us to tighten the "no allocs"
test in wgengine/filter.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
dns all: use testingutil.MinAllocsPerRun 3 years ago
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 3 years ago
dnsfallback cmd/cloner: mangle "go:generate" in cloner.go 3 years ago
flowtrack all: use testingutil.MinAllocsPerRun 3 years ago
interfaces net/interfaces: assume the network's up on js/wasm 3 years ago
netcheck net/netcheck: implement netcheck for js/wasm clients 3 years ago
netknob all: disable TCP keep-alives on iOS/Android 3 years ago
netns all: disable TCP keep-alives on iOS/Android 3 years ago
netstat all: gofmt with Go 1.17 3 years ago
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 3 years ago
packet all: use testingutil.MinAllocsPerRun 3 years ago
portmapper net/portmapper: only print PCP/PMP if VerboseLogs 3 years ago
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 3 years ago
speedtest all: fix spelling mistakes 3 years ago
stun all: gofmt with Go 1.17 3 years ago
tlsdial net/tlsdial: add forgotten test file for go mod tidy 3 years ago
tsaddr ipn/ipnlocal: for IPv6-only nodes, publish IPv6 MagicDNS records of peers 3 years ago
tshttpproxy all: gofmt with Go 1.17 3 years ago
tstun all: use testingutil.MinAllocsPerRun 3 years ago