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/cmd
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
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 4 years ago
cloner cmd/{cloner,viewer}: add support for map values with pointers 3 years ago
derper cmd/derper, net/netcheck: add challenge/response to generate_204 endpoint 3 years ago
derpprobe net/stun: convert to use net/netip.AddrPort 3 years ago
gitops-pusher cmd/gitops-pusher: standardize hujson before posting to validate (#5525) 3 years ago
hello refactor: move from io/ioutil to io and os packages 3 years ago
mkpkg cmd/mkpkg: use package flag (#4373) 4 years ago
netlogfmt cmd/netlogfmt: new package to pretty print network traffic logs (#5930) 3 years ago
nginx-auth cmd/nginx-auth/nginx-auth: update auth to allow for new domains 3 years ago
pgproxy cmd/pgproxy: link to blog post at the top. 3 years ago
printdep Docker: add ALPINE.txt to manage alpine versions 3 years ago
proxy-to-grafana all: gofmt for Go 1.19 3 years ago
speedtest net/speedtest: retune to meet iperf on localhost in a VM 3 years ago
ssh-auth-none-demo ssh/tailssh: add password-forcing workaround for buggy SSH clients 3 years ago
tailscale net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn 3 years ago
tailscaled portlist: remove unix.Readlink allocs on Linux 3 years ago
testcontrol all: use any instead of interface{} 4 years ago
tsconnect cmd/tsconnect: add progress and connection callbacks 3 years ago
tsshd cmd/tsshd: add a package line to appease gofmt 3 years ago
viewer all: fix spelling mistakes 3 years ago