According to the article, channels are slow because they use mutexes under the hood. So it doesn't follow that channels are better than mutexes for large N. Or is the article wrong? Or my reasoning?
The article that the OP article references does not show the code for their benchmark, but I must assume it's not using a large number of goroutines.