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/wgengine
Josh Bleecher Snyder 98cae48e70 wgengine/wglog: optimize wireguardGoString
The new code is ugly, but much faster and leaner.

name        old time/op    new time/op    delta
SetPeers-8    7.81µs ± 1%    3.59µs ± 1%  -54.04%  (p=0.000 n=9+10)

name        old alloc/op   new alloc/op   delta
SetPeers-8    7.68kB ± 0%    2.53kB ± 0%  -67.08%  (p=0.000 n=10+10)

name        old allocs/op  new allocs/op  delta
SetPeers-8       237 ± 0%        99 ± 0%  -58.23%  (p=0.000 n=10+10)

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
bench Revert "wgengine/bench: skip flaky test" 3 years ago
filter net/packet, wgengine/{filter,tstun}: add TSMP ping 3 years ago
magicsock wgengine/magicsock: rename discoEndpoint.wgEndpointHostPort to wgEndpoint 3 years ago
monitor wgengine/monitor: reduce Linux log spam on down 3 years ago
netstack wgengine/netstack: avoid delivering incoming packets to both netstack + host 3 years ago
router wgengine/router: use net.IP.Equal instead of bytes.Equal to compare IPs 3 years ago
wgcfg all: s/CreateEndpoint/ParseEndpoint/ in docs 3 years ago
wglog wgengine/wglog: optimize wireguardGoString 3 years ago
winnet wgengine/winnet: don't build on non-windows 3 years ago
pendopen.go wgengine: fix pendopen debug to not track SYN+ACKs, show Node.Online state 3 years ago
userspace.go internal/deephash: rename from deepprint 3 years ago
userspace_ext_test.go cmd/tailscaled, wgengine{,/netstack}: add netstack hybrid mode, add to Windows 3 years ago
userspace_test.go cmd/tailscaled, wgengine{,/netstack}: add netstack hybrid mode, add to Windows 3 years ago
watchdog.go wgengine: take in dns.Config, split out to resolver.Config and dns.OSConfig. 3 years ago
watchdog_test.go wgengine: extend TestWatchdog timeout on macOS 3 years ago
wgengine.go tailcfg: add Endpoint, EndpointType, MapRequest.EndpointType 3 years ago