commit | 461e7b7d409dad9406ae1e876ad7032f4356f501 | [log] [tgz] |
---|---|---|
author | Robert Obryk <robryk@gmail.com> | Fri Mar 29 14:17:09 2013 -0700 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri Mar 29 14:17:09 2013 -0700 |
tree | 95607fe529c5ea581f74457f40f898629e25449c | |
parent | 38e7c6b0dbd5f21ef05ce4006133a910eb84895b [diff] |
bytes: Benchmark Buffer's compactions This benchmark verifies that CL #8173043 reduces time spent sliding the Buffer's contents. Results without and with CL #8173043 applied: benchmark old ns/op new ns/op delta BenchmarkBufferFullSmallReads 755336 175054 -76.82% R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/8174043