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 3697609aaa portlist: remove unix.Readlink allocs on Linux
name       old time/op    new time/op    delta
    GetList-8    11.2ms ± 5%    11.1ms ± 3%     ~     (p=0.661 n=10+9)

    name       old alloc/op   new alloc/op   delta
    GetList-8    83.3kB ± 1%    67.4kB ± 1%  -19.05%  (p=0.000 n=10+10)

    name       old allocs/op  new allocs/op  delta
    GetList-8     2.89k ± 2%     2.19k ± 1%  -24.24%  (p=0.000 n=10+10)

(real issue is we're calling this code as much as we are, but easy
enough to make it efficient because it'll still need to be called
sometimes in any case)

Updates #5958

Change-Id: I90c20278d73e80315a840aed1397d24faa308d93
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
clean.go portlist: normalise space delimited process names (#5634) 3 years ago
clean_test.go portlist: normalise space delimited process names (#5634) 3 years ago
netstat.go portlist: update some internals to use append-style APIs 3 years ago
netstat_exec.go portlist: update some internals to use append-style APIs 3 years ago
netstat_test.go portlist: update some internals to use append-style APIs 3 years ago
poller.go portlist: unexport all Poller fields, removing unused one, rework channels 3 years ago
portlist.go portlist: further reduce allocations on Linux 3 years ago
portlist_ios.go portlist: update some internals to use append-style APIs 3 years ago
portlist_js.go portlist: update some internals to use append-style APIs 3 years ago
portlist_linux.go portlist: remove unix.Readlink allocs on Linux 3 years ago
portlist_linux_test.go portlist: further reduce allocations on Linux 3 years ago
portlist_macos.go portlist: update some internals to use append-style APIs 3 years ago
portlist_other.go portlist: update some internals to use append-style APIs 3 years ago
portlist_test.go portlist: update some internals to use append-style APIs 3 years ago
portlist_windows.go portlist: update some internals to use append-style APIs 3 years ago