(b *testing.B)
| 64 | } |
| 65 | |
| 66 | func BenchmarkReadVarBytes(b *testing.B) { |
| 67 | data := []byte{10, 11, 12} |
| 68 | for i := 0; i < b.N; i++ { |
| 69 | r := bytes.NewReader(data) |
| 70 | ReadVarBytes(r) |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | func BenchmarkReadVarString(b *testing.B) { |
| 75 | data := []byte{10, 11, 12} |
nothing calls this directly
no test coverage detected