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/metrics
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
..
fds_linux.go metrics: use SYS_OPENAT 3 years ago
fds_notlinux.go metrics: move currentFDs code to the metrics package 3 years ago
metrics.go metrics: move currentFDs code to the metrics package 3 years ago
metrics_test.go all: use testingutil.MinAllocsPerRun 3 years ago