(b *testing.B)
| 81 | } |
| 82 | |
| 83 | func BenchmarkMap_WithValue(b *testing.B) { |
| 84 | ctx := testlogging.Context(b) |
| 85 | m, err := bigmap.NewMap(ctx) |
| 86 | require.NoError(b, err) |
| 87 | |
| 88 | defer m.Close(ctx) |
| 89 | |
| 90 | benchmarkMap(b, m, []byte{1, 2, 3}) |
| 91 | } |
| 92 | |
| 93 | //nolint:thelper |
| 94 | func benchmarkMap(b *testing.B, m *bigmap.Map, someVal []byte) { |
nothing calls this directly
no test coverage detected