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