(b *testing.B)
| 61 | } |
| 62 | |
| 63 | func BenchmarkPersistFDOperator2(b *testing.B) { |
| 64 | // benchmark |
| 65 | b.ReportAllocs() |
| 66 | b.SetParallelism(128) |
| 67 | b.ResetTimer() |
| 68 | opcache := newOperatorCache() |
| 69 | b.RunParallel(func(pb *testing.PB) { |
| 70 | for pb.Next() { |
| 71 | op := opcache.alloc() |
| 72 | opcache.freeable(op) |
| 73 | opcache.free() |
| 74 | } |
| 75 | }) |
| 76 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…