You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Brad Fitzpatrick
a1b8d703d6
tstime/mono: remove unsafe
...
This removes the unsafe/linkname and only uses the standard library.
It's a bit slower, for now, but https://go.dev/cl/518336 should get us
back.
On darwin/arm64, without https://go.dev/cl/518336
pkg: tailscale.com/tstime/mono
│ before │ after │
│ sec/op │ sec/op vs base │
MonoNow-8 16.20n ± 0% 19.75n ± 0% +21.92% (p=0.000 n=10)
TimeNow-8 39.46n ± 0% 39.40n ± 0% -0.16% (p=0.002 n=10)
geomean 25.28n 27.89n +10.33%
And with it,
MonoNow-8 16.34n ± 1% 16.93n ± 0% +3.67% (p=0.001 n=10)
TimeNow-8 39.55n ± 15% 38.46n ± 1% -2.76% (p=0.000 n=10)
geomean 25.42n 25.52n +0.41%
Updates #8839
Updates tailscale/go#70
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
childproc
all: update copyright and license headers
3 years ago
debug.go
all: avoid repeated default interface lookups
3 years ago
depaware.txt
tstime/mono: remove unsafe
3 years ago
generate.go
cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS
3 years ago
install_darwin.go
all: update copyright and license headers
3 years ago
install_windows.go
all: update copyright and license headers
3 years ago
manifest_windows_386.syso
cmd/{tailscale,tailscaled}: embed manifest into Windows binaries
3 years ago
manifest_windows_amd64.syso
cmd/{tailscale,tailscaled}: embed manifest into Windows binaries
3 years ago
manifest_windows_arm64.syso
cmd/{tailscale,tailscaled}: embed manifest into Windows binaries
3 years ago
proxy.go
all: update copyright and license headers
3 years ago
required_version.go
all: require Go 1.21
3 years ago
ssh.go
all: update copyright and license headers
3 years ago
taildrop.go
various: add detection and Taildrop for Unraid
3 years ago
tailscaled.defaults
cmd/tailscaled: rename relaynode reference in defaults file comment
6 years ago
tailscaled.go
logpolicy, various: allow overriding log function
3 years ago
tailscaled.openrc
tstest/integration/vms: use an in-process logcatcher ( #2360 )
5 years ago
tailscaled.service
cmd/tailscaled: use explicit equal sign in --port=$PORT in tailscaled.service
4 years ago
tailscaled_bird.go
all: update copyright and license headers
3 years ago
tailscaled_notwindows.go
all: update copyright and license headers
3 years ago
tailscaled_test.go
util/linuxfw: remove yet-unused code to fix linux/arm64 crash
3 years ago
tailscaled_windows.go
go.mod, cmd/tailscaled, ipn/localapi, util/osdiag, util/winutil, util/winutil/authenticode: add Windows module list to OS-specific logs that are written upon bugreport
3 years ago
windows-manifest.xml
cmd/{tailscale,tailscaled}: embed manifest into Windows binaries
3 years ago
with_cli.go
all: update copyright and license headers
3 years ago