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 2a22ea3e83 util/deephash: generate type-specific hasher funcs
name                old time/op    new time/op    delta
Hash-8                71.1µs ± 2%    71.5µs ± 1%     ~     (p=0.114 n=9+8)
HashPacketFilter-8    8.39µs ± 1%    4.83µs ± 2%  -42.38%  (p=0.000 n=8+9)
HashMapAcyclic-8      56.2µs ± 1%    56.9µs ± 2%   +1.17%  (p=0.035 n=10+9)
TailcfgNode-8         6.49µs ± 2%    3.54µs ± 1%  -45.37%  (p=0.000 n=9+9)
HashArray-8            729ns ± 2%     566ns ± 3%  -22.30%  (p=0.000 n=10+10)

name                old alloc/op   new alloc/op   delta
Hash-8                 24.0B ± 0%     24.0B ± 0%     ~     (all equal)
HashPacketFilter-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)
HashPacketFilter-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: I34c4e786e748fe60280646d40cc63a2adb2ea6fe
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
cibuild all: use cibuild.On 2 years ago
clientmetric ipn/localapi: add API for uploading client metrics 2 years ago
cloudenv util/cloudenv: add Azure support & DNS IPs 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: generate type-specific hasher funcs 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
singleflight util/singleflight: add fork of singleflight with generics 2 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