(b *testing.B)
| 709 | } |
| 710 | |
| 711 | func BenchmarkCompleteBlock(b *testing.B) { |
| 712 | for _, enc := range encoding.AllEncodingsForWrites() { |
| 713 | b.Run(enc.Version(), func(b *testing.B) { |
| 714 | benchmarkCompleteBlock(b, enc) |
| 715 | }) |
| 716 | } |
| 717 | } |
| 718 | |
| 719 | func benchmarkCompleteBlock(b *testing.B, e encoding.VersionedEncoding) { |
| 720 | // Create a WAL block with traces |
nothing calls this directly
no test coverage detected