Descriptionbytes: 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%
Patch Set 1 #Patch Set 2 : diff -r 7b47ca7337ca https://code.google.com/p/go/ #Patch Set 3 : diff -r 7b47ca7337ca https://code.google.com/p/go/ #Patch Set 4 : diff -r 7b47ca7337ca https://code.google.com/p/go/ #MessagesTotal messages: 7
|