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
Brad Fitzpatrick 99a1c74a6a metrics: optimize CurrentFDs to not allocate on Linux
It was 50% of our allocs on one of our servers. (!!)

Updates #2784

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
fds_linux.go metrics: optimize CurrentFDs to not allocate on Linux 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 metrics: optimize CurrentFDs to not allocate on Linux 3 years ago