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/portlist
Brad Fitzpatrick 0eb6cc9321 portlist: cache field index position between runs, cut two more allocs (Linux)
name          old time/op    new time/op    delta
ParsePorts-6    6.41ms ± 7%    3.15ms ± 2%  -50.84%  (p=0.000 n=9+9)

name          old alloc/op   new alloc/op   delta
ParsePorts-6      408B ± 0%      216B ± 0%  -47.06%  (p=0.002 n=8+10)

name          old allocs/op  new allocs/op  delta
ParsePorts-6      7.00 ± 0%      4.00 ± 0%  -42.86%  (p=0.000 n=10+10)

Updates tailscale/corp#2566

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
clean.go
clean_test.go
netstat.go
netstat_exec.go
netstat_test.go
poller.go
portlist.go
portlist_ios.go
portlist_linux.go portlist: cache field index position between runs, cut two more allocs (Linux) 3 years ago
portlist_linux_test.go portlist: reuse bufio.Reader between files 3 years ago
portlist_macos.go portlist: fix build tag to build only on macOS, not macOS+iOS. 3 years ago
portlist_other.go
portlist_test.go
portlist_windows.go