commit | 65834685d3df3e6219cbf3ab471a13fa997c5b98 | [log] [tgz] |
---|---|---|
author | Dmitriy Vyukov <dvyukov@google.com> | Thu Aug 08 17:41:57 2013 +0400 |
committer | Dmitriy Vyukov <dvyukov@google.com> | Thu Aug 08 17:41:57 2013 +0400 |
tree | c95ef79e50410fcfcefea55eb4943de38cae91e2 | |
parent | ed8c5501c743d702016044e10c92e4a211765502 [diff] |
runtime: use GetQueuedCompletionStatusEx on windows if available GetQueuedCompletionStatusEx allows to dequeue a batch of completion notifications, which is more efficient than dequeueing one by one. benchmark old ns/op new ns/op delta BenchmarkClientServerParallel4 100605 90945 -9.60% BenchmarkClientServerParallel4-2 90225 74504 -17.42% R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/12436044