(b *testing.B)
| 474 | } |
| 475 | |
| 476 | func BenchmarkListBuilder_Append(b *testing.B) { |
| 477 | b.ReportAllocs() |
| 478 | builder := NewListBuilder[int]() |
| 479 | for i := 0; i < b.N; i++ { |
| 480 | builder.Append(i) |
| 481 | } |
| 482 | } |
| 483 | |
| 484 | func BenchmarkListBuilder_Prepend(b *testing.B) { |
| 485 | b.ReportAllocs() |
nothing calls this directly
no test coverage detected
searching dependent graphs…