func BenchmarkStaticIntMerge1InputLargeAmountValues(b *testing.B) { for n := 0; n < b.N; n++ { is := giveMeSomeChannels(1) o := make(chan int) merge.StaticIntMerge(o, is...) sendIntsToChan(large, is) go consumeSomeInts(large, o) } }
func BenchmarkStaticIntMerge50InputSmallAmountValues(b *testing.B) { for n := 0; n < b.N; n++ { is := giveMeSomeChannels(50) o := make(chan int) merge.StaticIntMerge(o, is...) sendIntsToChan(small, is) go consumeSomeInts(small*50, o) } }