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>
2022-06-16 18:39:10 -07:00
..
2022-03-18 15:19:26 -07:00
2022-05-12 09:52:56 -07:00
2021-04-23 20:55:45 -07:00
2022-05-06 10:58:10 -07:00
2022-06-16 18:39:10 -07:00
2022-03-16 14:53:59 -07:00
2021-08-05 15:54:00 -07:00
2022-03-26 21:45:06 -07:00
2022-03-17 11:35:09 -07:00
2020-11-19 12:14:58 -08:00
2022-04-21 21:20:10 -07:00
2022-03-17 11:35:09 -07:00
2022-03-16 12:45:28 -07:00
2021-08-05 15:54:00 -07:00
2021-08-05 15:54:00 -07:00
2021-08-05 15:54:00 -07:00
2022-03-17 11:35:09 -07:00
2022-03-17 11:35:09 -07:00
2022-05-27 14:56:09 -06:00