func BenchmarkReflectMerge1InputLargeAmountValues(b *testing.B) { for n := 0; n < b.N; n++ { is := giveMeSomeChannelsI(1) o := make(chan int) merge.ReflectMerge(o, is...) sendIntsToChanI(large, is) go consumeSomeInts(large, o) } }
func BenchmarkReflectMerge50InputSmallAmountValues(b *testing.B) { for n := 0; n < b.N; n++ { is := giveMeSomeChannelsI(50) o := make(chan int) merge.ReflectMerge(o, is...) sendIntsToChanI(small, is) go consumeSomeInts(small*50, o) } }