]> Cypherpunks repositories - gostls13.git/commit
encoding/binary: add more benchmarks
authorRoger Peppe <rogpeppe@gmail.com>
Tue, 20 Dec 2011 17:25:47 +0000 (09:25 -0800)
committerRob Pike <r@golang.org>
Tue, 20 Dec 2011 17:25:47 +0000 (09:25 -0800)
commit16bf7d9e82fd043ed44b3cb0ebd106c397f326d2
tree6553d94afe71332771a6c853df87dd08ea2bc1f7
parent317ad14c6a963b9bb6f81050254026061082a3e8
encoding/binary: add more benchmarks
Also add a byte count to the varint benchmarks - this
isn't accurate, of course, but it allows a rough comparison to
the other benchmarks.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5496070
src/pkg/encoding/binary/binary_test.go
src/pkg/encoding/binary/varint_test.go