tailscale/cmd/tailscaled
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>
2022-10-22 11:30:53 -07:00
..
childproc cmd/tailscaled/childproc: add be-child registration mechanism 2022-02-24 14:20:20 -08:00
debug.go all: fix more resource leaks found by staticmajor 2022-10-10 20:46:56 -07:00
depaware.txt portlist: remove unix.Readlink allocs on Linux 2022-10-22 11:30:53 -07:00
install_darwin.go cmd/tailscaled: handle tailscaled symlink on macOS 2022-10-11 16:09:26 +01:00
install_windows.go all: require Go 1.19 2022-08-02 11:49:01 -07:00
proxy.go all: require Go 1.19 2022-08-02 11:49:01 -07:00
required_version.go all: require Go 1.19 2022-08-02 11:49:01 -07:00
ssh.go all: gofmt all 2022-04-29 13:06:04 -07:00
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 2020-03-13 14:38:04 -07:00
tailscaled.go all: fix more resource leaks found by staticmajor 2022-10-10 20:46:56 -07:00
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 2021-07-08 14:39:45 -04:00
tailscaled.service cmd/tailscaled: use explicit equal sign in --port=$PORT in tailscaled.service 2022-09-22 11:54:22 -07:00
tailscaled_bird.go all: require Go 1.19 2022-08-02 11:49:01 -07:00
tailscaled_notwindows.go all: require Go 1.19 2022-08-02 11:49:01 -07:00
tailscaled_test.go cmd/tailscaled: add a no-op test for profiling init-time memory allocs 2022-02-24 14:58:12 -08:00
tailscaled_windows.go all: consistently initialize Logf when creating tsdial.Dialers 2022-09-30 14:40:56 -07:00
with_cli.go cmd/tailscaled: add opt-in support for linking CLI into daemon 2022-07-27 11:15:52 -07:00