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 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>
1 year ago
..
addlicense all: update tools that manage copyright headers 2 years ago
cloner tailcfg,ipn/ipnlocal,wgengine: add values to PeerCapabilities 1 year ago
containerboot cmd/containerboot,kube: consolidate the two kube clients 2 years ago
derper tstime/mono: remove unsafe 1 year ago
derpprobe prober: migrate to Prometheus metric library 2 years ago
dist cmd/dist,release/dist: expose RPM signing hook (#8789) 1 year ago
get-authkey all: use cmpx.Or where it made sense 1 year ago
gitops-pusher cmd/gitops-pusher: re-use existing types from acl package 1 year ago
hello all: update copyright and license headers 2 years ago
k8s-operator cmd/k8s-operator: update controller-runtime to v0.15 1 year ago
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2 years ago
mkpkg go.mod: upgrade nfpm to v2 (#8786) 1 year ago
mkversion version/mkversion: open-source version generation logic 2 years ago
nardump all: update copyright and license headers 2 years ago
netlogfmt all: update exp/slices and fix call sites 1 year ago
nginx-auth tailcfg,all: add and use Node.IsTagged() 2 years ago
pgproxy various: add golangci-lint, fix issues (#7905) 2 years ago
printdep cmd/printdep: print correct toolchain URL 2 years ago
proxy-to-grafana tailcfg,all: add and use Node.IsTagged() 2 years ago
sniproxy cmd/sniproxy: add client metrics 1 year ago
speedtest all: update copyright and license headers 2 years ago
ssh-auth-none-demo all: update copyright and license headers 2 years ago
stunc all: update copyright and license headers 2 years ago
sync-containers cmd/sync-containers: update latest and stable tags 2 years ago
tailscale tstime/mono: remove unsafe 1 year ago
tailscaled tstime/mono: remove unsafe 1 year ago
testcontrol all: update copyright and license headers 2 years ago
testwrapper cmd/testwrapper: handle build failures 1 year ago
tsconnect tool/{node,yarn}: update node and yarn tools 1 year ago
tsshd all: update copyright and license headers 2 years ago
viewer util/codegen: support embedded fields 2 years ago