(b *testing.B)
| 887 | } |
| 888 | |
| 889 | func BenchmarkCompaction(b *testing.B) { |
| 890 | for _, enc := range encoding.AllEncodingsForWrites() { |
| 891 | b.Run(enc.Version(), func(b *testing.B) { |
| 892 | benchmarkCompaction(b, enc.Version()) |
| 893 | }) |
| 894 | } |
| 895 | } |
| 896 | |
| 897 | func benchmarkCompaction(b *testing.B, targetBlockVersion string) { |
| 898 | tempDir := b.TempDir() |
nothing calls this directly
no test coverage detected