Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(181)

Issue 5496070: code review 5496070: encoding/binary: add more benchmarks

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by rog
Modified:
13 years, 7 months ago
Reviewers:
CC:
golang-dev, r
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : diff -r 82fdc445f2ff https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 82fdc445f2ff https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 82fdc445f2ff https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 5 : diff -r 82fdc445f2ff https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 6 : diff -r 82fdc445f2ff https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -17 lines) Patch
M src/pkg/encoding/binary/binary_test.go View 1 2 3 4 5 3 chunks +39 lines, -17 lines 0 comments Download
M src/pkg/encoding/binary/varint_test.go View 1 2 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6
rog
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 7 months ago (2011-12-19 08:33:13 UTC) #1
r
http://codereview.appspot.com/5496070/diff/5001/src/pkg/encoding/binary/binary_test.go File src/pkg/encoding/binary/binary_test.go (right): http://codereview.appspot.com/5496070/diff/5001/src/pkg/encoding/binary/binary_test.go#newcode174 src/pkg/encoding/binary/binary_test.go:174: func BenchmarkReadArray(b *testing.B) { ReadSlice? also it's nice in ...
13 years, 7 months ago (2011-12-19 19:13:40 UTC) #2
rog
PTAL http://codereview.appspot.com/5496070/diff/5001/src/pkg/encoding/binary/binary_test.go File src/pkg/encoding/binary/binary_test.go (right): http://codereview.appspot.com/5496070/diff/5001/src/pkg/encoding/binary/binary_test.go#newcode174 src/pkg/encoding/binary/binary_test.go:174: func BenchmarkReadArray(b *testing.B) { On 2011/12/19 19:13:40, r ...
13 years, 7 months ago (2011-12-20 10:50:44 UTC) #3
r
http://codereview.appspot.com/5496070/diff/3004/src/pkg/encoding/binary/binary_test.go File src/pkg/encoding/binary/binary_test.go (right): http://codereview.appspot.com/5496070/diff/3004/src/pkg/encoding/binary/binary_test.go#newcode198 src/pkg/encoding/binary/binary_test.go:198: if !reflect.DeepEqual(s, t) { do you want to stop ...
13 years, 7 months ago (2011-12-20 16:49:37 UTC) #4
rog
PTAL http://codereview.appspot.com/5496070/diff/3004/src/pkg/encoding/binary/binary_test.go File src/pkg/encoding/binary/binary_test.go (right): http://codereview.appspot.com/5496070/diff/3004/src/pkg/encoding/binary/binary_test.go#newcode198 src/pkg/encoding/binary/binary_test.go:198: if !reflect.DeepEqual(s, t) { On 2011/12/20 16:49:37, r ...
13 years, 7 months ago (2011-12-20 17:13:47 UTC) #5
r
13 years, 7 months ago (2011-12-20 17:25:51 UTC) #6
*** Submitted as c5b714cc9df6 ***

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
http://codereview.appspot.com/5496070

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b