tailscale/portlist
Brad Fitzpatrick 61f201f33d portlist: reuse bufio.Reader between files
name         old time/op    new time/op    delta
ListPorts-6    1.18ms ± 5%    1.16ms ± 5%     ~     (p=0.075 n=10+10)

name         old alloc/op   new alloc/op   delta
ListPorts-6    27.2kB ± 0%    14.9kB ± 0%  -45.14%  (p=0.001 n=8+9)

name         old allocs/op  new allocs/op  delta
ListPorts-6      90.0 ± 0%      84.0 ± 0%   -6.67%  (p=0.000 n=10+10)

Updates tailscale/corp#2566

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-09-13 08:28:40 -07:00
..
clean_test.go portlist: report a better process name for .Net on linux. 2021-03-03 22:30:27 -08:00
clean.go portlist: report a better process name for .Net on linux. 2021-03-03 22:30:27 -08:00
netstat_exec.go all: simplify build tags involving iOS 2021-08-17 11:13:03 -07:00
netstat_test.go portlist: filter out all of 127.0.0.0/8, not just 127.0.0.1/32 2021-04-12 09:17:39 -07:00
netstat.go all: simplify build tags involving iOS 2021-08-17 11:13:03 -07:00
poller.go portlist: unexport SameInodes method 2021-04-09 15:16:36 -07:00
portlist_ios.go all: simplify build tags involving iOS 2021-08-17 11:13:03 -07:00
portlist_linux_test.go portlist: reuse bufio.Reader between files 2021-09-13 08:28:40 -07:00
portlist_linux.go portlist: reuse bufio.Reader between files 2021-09-13 08:28:40 -07:00
portlist_macos.go portlist: fix build tag to build only on macOS, not macOS+iOS. 2021-08-18 16:18:02 -07:00
portlist_other.go all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
portlist_test.go portlist: unexport SameInodes method 2021-04-09 15:16:36 -07:00
portlist_windows.go staticcheck.conf: turn off noisy lint errors 2021-06-18 15:48:20 -07:00
portlist.go portlist: de-dup services on same (proto, port) on both IPv4/IPv6 2021-04-13 14:40:33 -07:00