(b *testing.B)
| 72 | } |
| 73 | |
| 74 | func BenchmarkReadVarString(b *testing.B) { |
| 75 | data := []byte{10, 11, 12} |
| 76 | for i := 0; i < b.N; i++ { |
| 77 | r := bytes.NewReader(data) |
| 78 | ReadString(r) |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | func BenchmarkSerialize(ben *testing.B) { |
| 83 | a3 := uint8(100) |
nothing calls this directly
no test coverage detected