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 35bee36549 portlist: use win32 calls instead of running netstat process [windows]
Turns out using win32 instead of shelling out to child processes is a
bit faster:

    name                  old time/op    new time/op    delta
    GetListIncremental-4     278ms ± 2%       0ms ± 7%  -99.93%  (p=0.000 n=8+10)

    name                  old alloc/op   new alloc/op   delta
    GetListIncremental-4     238kB ± 0%       9kB ± 0%  -96.12%  (p=0.000 n=10+8)

    name                  old allocs/op  new allocs/op  delta
    GetListIncremental-4     1.19k ± 0%     0.02k ± 0%  -98.49%  (p=0.000 n=10+10)

Fixes #3876 (sadly)

Change-Id: I1195ac5de21a8a8b3cdace5871d263e81aa27e91
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: increment version. 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 4 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 ipn/ipnlocal: use ipn.PrefsView 3 years ago
tailscaled portlist: use win32 calls instead of running netstat process [windows] 3 years ago
testcontrol all: use any instead of interface{} 4 years ago
tsconnect cmd/tsconnect: add README to generated NPM package 3 years ago
tsshd cmd/tsshd: add a package line to appease gofmt 3 years ago
viewer all: fix spelling mistakes 3 years ago