(b *testing.B)
| 50 | } |
| 51 | |
| 52 | func BenchmarkPersistFDOperator1(b *testing.B) { |
| 53 | b.ReportAllocs() |
| 54 | b.ResetTimer() |
| 55 | opcache := newOperatorCache() |
| 56 | for i := 0; i < b.N; i++ { |
| 57 | op := opcache.alloc() |
| 58 | opcache.freeable(op) |
| 59 | opcache.free() |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | func BenchmarkPersistFDOperator2(b *testing.B) { |
| 64 | // benchmark |
nothing calls this directly
no test coverage detected
searching dependent graphs…