(b *testing.B)
| 19 | } |
| 20 | |
| 21 | func benchSub3(b *testing.B) { |
| 22 | for i := 0; i < b.N; i++ { |
| 23 | gotest.MakeSliceWithoutAlloc() |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | func BenchmarkSub(b *testing.B) { |
| 28 | b.Run("A=1", benchSub1) |
nothing calls this directly
no test coverage detected