tailscale/net/packet
David Anderson 22bf48f37c net/packet: remove {get,put}{16,32} indirection to encoding/binary.
name              old time/op    new time/op    delta
Decode/tcp4-8       28.8ns ± 2%    13.1ns ± 4%  -54.44%  (p=0.008 n=5+5)
Decode/tcp6-8       20.6ns ± 1%    12.6ns ± 2%  -38.72%  (p=0.008 n=5+5)
Decode/udp4-8       28.2ns ± 1%    12.1ns ± 4%  -57.01%  (p=0.008 n=5+5)
Decode/udp6-8       20.0ns ± 6%    12.1ns ± 2%  -39.38%  (p=0.008 n=5+5)
Decode/icmp4-8      21.7ns ± 2%    11.5ns ± 1%  -47.01%  (p=0.008 n=5+5)
Decode/icmp6-8      14.1ns ± 2%    11.8ns ± 4%  -16.60%  (p=0.008 n=5+5)
Decode/unknown-8    9.43ns ± 2%    9.30ns ± 3%     ~     (p=0.222 n=5+5)

Signed-off-by: David Anderson <danderson@tailscale.com>
2020-11-10 20:23:54 -08:00
..
doc.go net/packet: s/ParsedPacket/Parsed/ to avoid package stuttering. 2020-11-09 23:52:54 -08:00
header.go net/packet: rename from wgengine/packet. 2020-11-09 16:25:24 -08:00
icmp4.go net/packet: remove {get,put}{16,32} indirection to encoding/binary. 2020-11-10 20:23:54 -08:00
icmp6.go net/packet: support full IPv6 decoding. 2020-11-10 20:23:54 -08:00
ip.go net/packet: support full IPv6 decoding. 2020-11-10 20:23:54 -08:00
ip4.go net/packet: remove {get,put}{16,32} indirection to encoding/binary. 2020-11-10 20:23:54 -08:00
ip6.go net/packet: support full IPv6 decoding. 2020-11-10 20:23:54 -08:00
packet.go net/packet: remove {get,put}{16,32} indirection to encoding/binary. 2020-11-10 20:23:54 -08:00
packet_test.go net/packet: support full IPv6 decoding. 2020-11-10 20:23:54 -08:00
udp4.go net/packet: remove {get,put}{16,32} indirection to encoding/binary. 2020-11-10 20:23:54 -08:00