diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2021-11-08 11:15:06 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-11-23 22:03:15 +0100 |
commit | 4d87c9e8246072d4880e6f198f81ad4675872d86 (patch) | |
tree | 880132e110c3564cfeb0eea344a732b13d4d1e19 /tests/netns.sh | |
parent | ef8d6804d77d9ce09f0e2c7f6d85bbe222712b73 (diff) |
device: remove code using unsafe
There is no performance impact.
name old time/op new time/op delta
TrieIPv4Peers100Addresses1000-8 78.6ns ± 1% 79.4ns ± 3% ~ (p=0.604 n=10+9)
TrieIPv4Peers10Addresses10-8 29.1ns ± 2% 28.8ns ± 1% -1.12% (p=0.014 n=10+9)
TrieIPv6Peers100Addresses1000-8 78.9ns ± 1% 78.6ns ± 1% ~ (p=0.492 n=10+10)
TrieIPv6Peers10Addresses10-8 29.3ns ± 2% 28.6ns ± 2% -2.16% (p=0.000 n=10+10)
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tests/netns.sh')
0 files changed, 0 insertions, 0 deletions