diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2014-07-17 21:49:45 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-07-17 21:49:45 +0400 |
| commit | dc84eca75eab04ec1a0c454ccf135ee9da10951e (patch) | |
| tree | 4d2287c12bf1befe21f2061f0c688deb6f44666c /src/pkg/runtime/proc.c | |
| parent | 90870e61b7311a0c2b4d3059368cf75006157a50 (diff) | |
| download | go-dc84eca75eab04ec1a0c454ccf135ee9da10951e.tar.xz | |
runtime: 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.
LGTM=khr
R=golang-codereviews, khr
CC=golang-codereviews
https://golang.org/cl/115780043
Diffstat (limited to 'src/pkg/runtime/proc.c')
0 files changed, 0 insertions, 0 deletions
