(b *testing.B)
| 71 | } |
| 72 | |
| 73 | func BenchmarkConcurrentGroup(b *testing.B) { |
| 74 | for i := 0; i < b.N; i++ { |
| 75 | cg := utils.NewConcurrentGroup() |
| 76 | for j := 0; j < 10; j++ { |
| 77 | cg.Go(func() error { return nil }) |
| 78 | } |
| 79 | _ = cg.Wait() |
| 80 | } |
| 81 | } |
nothing calls this directly
no test coverage detected