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

Issue 8173043: code review 8173043: bytes: don't compact Buffer so aggressively (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by bradfitz
Modified:
11 years, 1 month ago
Reviewers:
CC:
golang-dev, gri, robryk
Visibility:
Public.

Description

bytes: don't compact Buffer so aggressively benchmark old ns/op new ns/op delta BenchmarkBufferNotEmptyWriteRead 848416 819983 -3.35% Update Issue 5154

Patch Set 1 #

Patch Set 2 : diff -r 7b47ca7337ca https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 3 : diff -r 7b47ca7337ca https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -5 lines) Patch
M src/pkg/bytes/buffer.go View 1 2 1 chunk +5 lines, -3 lines 0 comments Download
M src/pkg/bytes/buffer_test.go View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 6
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 1 month ago (2013-03-29 19:58:01 UTC) #1
gri
LGTM https://codereview.appspot.com/8173043/diff/2001/src/pkg/bytes/buffer.go File src/pkg/bytes/buffer.go (right): https://codereview.appspot.com/8173043/diff/2001/src/pkg/bytes/buffer.go#newcode91 src/pkg/bytes/buffer.go:91: // We can slide things down instead of ...
11 years, 1 month ago (2013-03-29 20:37:39 UTC) #2
robryk
On 2013/03/29 19:58:01, bradfitz wrote: > Hello mailto:golang-dev@googlegroups.com, > > I'd like you to review ...
11 years, 1 month ago (2013-03-29 20:39:07 UTC) #3
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=92913ac2c60f *** bytes: don't compact Buffer so aggressively benchmark old ns/op new ...
11 years, 1 month ago (2013-03-29 20:49:18 UTC) #4
bradfitz
Done. On Fri, Mar 29, 2013 at 1:37 PM, <gri@golang.org> wrote: > LGTM > > ...
11 years, 1 month ago (2013-03-29 20:49:21 UTC) #5
bradfitz
11 years, 1 month ago (2013-03-29 20:49:34 UTC) #6
On Fri, Mar 29, 2013 at 1:39 PM, <robryk@gmail.com> wrote:

> On 2013/03/29 19:58:01, bradfitz wrote:
>
>> Hello mailto:golang-dev@**googlegroups.com <golang-dev@googlegroups.com>,
>>
>
>  I'd like you to review this change to
>> https://go.googlecode.com/hg/
>>
>
> I've written a benchmark that verifies that this helps:
>
https://codereview.appspot.**com/8174043/<https://codereview.appspot.com/8174...
>
> If you want me to mail it, just say so.
>

Go for it.
Sign in to reply to this message.

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