commit | a5697251411c73fa280de76d1ef86482f5e6ee30 | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Tue Mar 15 10:02:44 2011 -0700 |
committer | Rob Pike <r@golang.org> | Tue Mar 15 10:02:44 2011 -0700 |
tree | 296642ae4e8338a2c32c68b6b3494a2adbc196c6 | |
parent | 31a72d1a53f8584a78f9d7c89a8951a553015ba4 [diff] |
rpc: add buffering to the encode path. This reduces the number of writes by 2 (1 client, 1 server) on each round trip. A simple test shows 24% higher throughput. R=rsc CC=golang-dev https://golang.org/cl/4279057