(b *testing.B)
| 422 | } |
| 423 | |
| 424 | func BenchmarkAppendFlush(b *testing.B) { |
| 425 | for _, enc := range encoding.AllEncodingsForWrites() { |
| 426 | version := enc.Version() |
| 427 | b.Run(version, func(b *testing.B) { |
| 428 | b.Run("Append", func(b *testing.B) { |
| 429 | runWALBenchmarkWithAppendMode(b, version, b.N, false, nil) |
| 430 | }) |
| 431 | b.Run("AppendTrace", func(b *testing.B) { |
| 432 | runWALBenchmarkWithAppendMode(b, version, b.N, true, nil) |
| 433 | }) |
| 434 | }) |
| 435 | } |
| 436 | } |
| 437 | |
| 438 | func BenchmarkFindTraceByID(b *testing.B) { |
| 439 | for _, enc := range encoding.AllEncodingsForWrites() { |
nothing calls this directly
no test coverage detected