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 e92fd19484 wgengine/wglog: match upstream wireguard-go's code for wireguardGoString
It is a bit faster.

But more importantly, it matches upstream byte-for-byte,
which ensures there'll be no corner cases in which we disagree.

name        old time/op    new time/op    delta
SetPeers-8    3.58µs ± 0%    3.16µs ± 2%  -11.74%  (p=0.016 n=4+5)

name        old alloc/op   new alloc/op   delta
SetPeers-8    2.53kB ± 0%    2.53kB ± 0%     ~     (all equal)

name        old allocs/op  new allocs/op  delta
SetPeers-8      99.0 ± 0%      99.0 ± 0%     ~     (all equal)

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
3 years ago
..
bench go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
filter go.mod: update netaddr 3 years ago
magicsock wgengine/magicsock: delete dead code 4 years ago
monitor all: adapt to opaque netaddr types 4 years ago
netstack all: adapt to opaque netaddr types 4 years ago
router go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
wgcfg go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
wglog wgengine/wglog: match upstream wireguard-go's code for wireguardGoString 3 years ago
winnet wgengine/winnet: don't build on non-windows 4 years ago
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
pendopen.go all: adapt to opaque netaddr types 4 years ago
userspace.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 4 years ago
userspace_test.go all: adapt to opaque netaddr types 4 years ago
watchdog.go wgengine: take in dns.Config, split out to resolver.Config and dns.OSConfig. 4 years ago
watchdog_test.go wgengine: extend TestWatchdog timeout on macOS 4 years ago
wgengine.go tailcfg: add Endpoint, EndpointType, MapRequest.EndpointType 4 years ago