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

Issue 5372086: code review 5372086: big/rat: add a few benchmarks for FloatString conversio...

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by dga
Modified:
12 years, 5 months ago
Reviewers:
r, gri, r2, golang-dev
CC:
golang-dev
Visibility:
Public.

Description

big/rat: add a few benchmarks for FloatString conversion (it's slow)

Patch Set 1 #

Patch Set 2 : diff -r 6c86d2a7ac93 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 67fc49fb2821 https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 4 : diff -r 67fc49fb2821 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 67fc49fb2821 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -0 lines) Patch
M src/pkg/math/big/rat_test.go View 1 2 3 4 1 chunk +59 lines, -0 lines 0 comments Download

Messages

Total messages: 11
dga
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 5 months ago (2011-11-13 15:10:50 UTC) #1
r
http://codereview.appspot.com/5372086/diff/3/src/pkg/math/big/rat_test.go File src/pkg/math/big/rat_test.go (right): http://codereview.appspot.com/5372086/diff/3/src/pkg/math/big/rat_test.go#newcode501 src/pkg/math/big/rat_test.go:501: func RatStringHelper(b *testing.B, num, denom string, precision int) { ...
12 years, 5 months ago (2011-11-13 16:46:25 UTC) #2
dga
Hello golang-dev@googlegroups.com, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 5 months ago (2011-11-16 14:37:31 UTC) #3
gri
This is fine but seems overkill to have 8 benchmarks for FloatString conversion, each of ...
12 years, 5 months ago (2011-11-16 17:51:42 UTC) #4
gri
On Thu, Nov 17, 2011 at 9:37 AM, Rob 'Commander' Pike <r@google.com> wrote: > > ...
12 years, 5 months ago (2011-11-17 21:52:08 UTC) #5
dga
On Thu, Nov 17, 2011 at 1:15 PM, Robert Griesemer <gri@golang.org> wrote: >> >> What's ...
12 years, 5 months ago (2011-11-17 22:04:02 UTC) #6
gri
On Thu, Nov 17, 2011 at 9:49 AM, David Andersen <dave.andersen@gmail.com> wrote: > On Thu, ...
12 years, 5 months ago (2011-11-17 22:07:45 UTC) #7
dga
Hello golang-dev@googlegroups.com, r@golang.org, gri@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 5 months ago (2011-11-17 22:20:44 UTC) #8
r2
On Nov 17, 2011, at 9:31 AM, dave.andersen@gmail.com wrote: > I agree completely for shorts ...
12 years, 5 months ago (2011-11-17 22:25:07 UTC) #9
dga
On Thu, Nov 17, 2011 at 12:44 PM, Robert Griesemer <gri@golang.org> wrote: >> >> Now, ...
12 years, 5 months ago (2011-11-17 22:35:36 UTC) #10
dga
12 years, 5 months ago (2011-11-17 22:40:32 UTC) #11
On Thu, Nov 17, 2011 at 1:44 PM, David Andersen <dave.andersen@gmail.com> wrote:

>>> The relevant benchmark changes for mine are that Medium is 2.7x
>>> faster, long is 5.5x faster:
>>
>> that's good, too. please send me that CL.
>
>> Have you uploaded those changes?
>
> Nope - I'll get them as soon as rietveld is back.  They need a little
> cleaning to be up to snuff but I should upload them within three
> hours.
>
> From looking at the other CL, the changes look very compatible.  My
> changes are algorithmic - it switches to divide-and-conquer for large
> numbers, with better asymptotic performance.

The changes to decimal are now uploaded: http://codereview.appspot.com/5413043

This is my first larger change to anything within the go libraries, so
I apologize in advance. :-)

  -Dave
Sign in to reply to this message.

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