(b *testing.B)
| 49 | } |
| 50 | |
| 51 | func BenchmarkDecodeRowKey(b *testing.B) { |
| 52 | rowKey := EncodeRowKeyWithHandle(100, kv.IntHandle(100)) |
| 53 | for i := 0; i < b.N; i++ { |
| 54 | _, err := DecodeRowKey(rowKey) |
| 55 | if err != nil { |
| 56 | b.Fatal(err) |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | func BenchmarkDecodeIndexKeyIntHandle(b *testing.B) { |
| 62 | var idxVal []byte |
nothing calls this directly
no test coverage detected