mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
64e9ce8df1
Notably, it no longer allocates proportional to the number of open sockets on the machine. Any alloc reduction numbers are a little contrived with such a reduction but e.g. on a machine with 50,000 connections open: name old time/op new time/op delta ParsePorts-6 57.7ms ± 6% 32.8ms ± 3% -43.04% (p=0.000 n=9+10) name old alloc/op new alloc/op delta ParsePorts-6 24.0MB ± 0% 0.0MB ± 0% -100.00% (p=0.000 n=10+9) name old allocs/op new allocs/op delta ParsePorts-6 100k ± 0% 0k ± 0% -99.99% (p=0.000 n=10+10) Updates tailscale/corp#2566 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com> |
||
---|---|---|
.. | ||
clean_test.go | ||
clean.go | ||
netstat_exec.go | ||
netstat_test.go | ||
netstat.go | ||
poller.go | ||
portlist_ios.go | ||
portlist_linux_test.go | ||
portlist_linux.go | ||
portlist_macos.go | ||
portlist_other.go | ||
portlist_test.go | ||
portlist_windows.go | ||
portlist.go |