(b *testing.B)
| 1918 | } |
| 1919 | |
| 1920 | func BenchmarkDecodeSFlowLayerPacket1(b *testing.B) { |
| 1921 | var sflow SFlowDatagram |
| 1922 | for i := 0; i < b.N; i++ { |
| 1923 | sflow.DecodeFromBytes(SFlowTestPacket1[ /*eth*/ 14+ /*ipv4*/ 20+ /*udp*/ 8:], gopacket.NilDecodeFeedback) |
| 1924 | } |
| 1925 | } |
| 1926 | |
| 1927 | func BenchmarkDecodeSFlowLayerPacket2(b *testing.B) { |
| 1928 | var sflow SFlowDatagram |
nothing calls this directly
no test coverage detected
searching dependent graphs…