Descriptionruntime: improve select benchmarks
1. Add select on sync channels benchmark.
2. Make channels in BenchmarkSelectNonblock shared.
With GOMAXPROCS=1 it is the same, but with GOMAXPROCS>1
it becomes a more interesting benchmark.
Patch Set 1 #Patch Set 2 : diff -r 67f9ef140028 https://dvyukov%40google.com@code.google.com/p/go/ #Patch Set 3 : diff -r 67f9ef140028 https://dvyukov%40google.com@code.google.com/p/go/ #
Total comments: 2
Patch Set 4 : diff -r b850cb862bb2 https://dvyukov%40google.com@code.google.com/p/go/ #MessagesTotal messages: 6
|