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/util
Brad Fitzpatrick f31588786f util/deephash: don't track cycles on non-recursive types
name              old time/op    new time/op    delta
Hash-8              67.3µs ±20%    76.5µs ±16%     ~     (p=0.143 n=10+10)
HashMapAcyclic-8    63.0µs ± 2%    56.3µs ± 1%  -10.65%  (p=0.000 n=10+8)
TailcfgNode-8       9.18µs ± 2%    6.52µs ± 3%  -28.96%  (p=0.000 n=9+10)
HashArray-8          732ns ± 3%     709ns ± 1%   -3.21%  (p=0.000 n=10+10)

name              old alloc/op   new alloc/op   delta
Hash-8               24.0B ± 0%     24.0B ± 0%     ~     (all equal)
HashMapAcyclic-8     0.00B          0.00B          ~     (all equal)
TailcfgNode-8        0.00B          0.00B          ~     (all equal)
HashArray-8          0.00B          0.00B          ~     (all equal)

name              old allocs/op  new allocs/op  delta
Hash-8                1.00 ± 0%      1.00 ± 0%     ~     (all equal)
HashMapAcyclic-8      0.00           0.00          ~     (all equal)
TailcfgNode-8         0.00           0.00          ~     (all equal)
HashArray-8           0.00           0.00          ~     (all equal)

Change-Id: I28642050d837dff66b2db54b2b0e6d272a930be8
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
cibuild all: use cibuild.On 2 years ago
clientmetric util/clientmetric: add gauge_ name prefix when uploading names 2 years ago
cmpver util/cmpver: move into OSS from corp repo. 3 years ago
codegen cmd/cloner,util/codegen: refactor cloner internals to allow reuse 2 years ago
deephash util/deephash: don't track cycles on non-recursive types 2 years ago
dnsname all: use Go 1.18's strings.Cut 2 years ago
endian all: gofmt with Go 1.17 3 years ago
groupmember util/groupmember: remove redundant code (#4298) 2 years ago
jsonutil all: use any instead of interface{} 2 years ago
lineread util/lineread: add docs to Reader 4 years ago
mak util/mak: move tailssh's mapSet into a new package for reuse elsewhere 2 years ago
multierr all: use any instead of interface{} 2 years ago
netconv util/netconv: add package to convert between netip and netaddr types 2 years ago
osshare all: gofmt with Go 1.17 3 years ago
pidowner all: gofmt with Go 1.17 3 years ago
racebuild all: gofmt with Go 1.17 3 years ago
systemd all: use any instead of interface{} 2 years ago
uniq all: use any instead of interface{} 2 years ago
winutil net/dns, paths, util/winutil: change net/dns/windowsManager NRPT management to support more than 50 domains. 2 years ago