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

Issue 13393045: code review 13393045: regexp: fix a benchmark case (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by bradfitz
Modified:
11 years, 8 months ago
Reviewers:
crawshaw1, dave
CC:
golang-dev, crawshaw1
Visibility:
Public.

Description

regexp: fix a benchmark case I noticed that this one benchmark in particular was very noisy. Looking into it, I saw that the table was wrong and inconsistent with the lines above and below.

Patch Set 1 #

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

Patch Set 3 : diff -r 2e89feb1297b https://go.googlecode.com/hg/ #

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/pkg/regexp/exec_test.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 8 months ago (2013-08-29 20:30:34 UTC) #1
crawshaw1
LGTM, based on the email. Chunk mismatch in codereview.
11 years, 8 months ago (2013-08-29 20:54:02 UTC) #2
bradfitz
Operations are hanging and failing like crazy today. On Thu, Aug 29, 2013 at 1:54 ...
11 years, 8 months ago (2013-08-29 20:54:53 UTC) #3
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=842db87ecc8d *** regexp: fix a benchmark case I noticed that this one ...
11 years, 8 months ago (2013-08-29 20:55:30 UTC) #4
dave_cheney.net
11 years, 8 months ago (2013-08-29 21:11:02 UTC) #5
LGTM.

On Fri, Aug 30, 2013 at 6:30 AM,  <bradfitz@golang.org> wrote:
> Reviewers: golang-dev1,
>
> Message:
> Hello golang-dev@googlegroups.com,
>
> I'd like you to review this change to
> https://go.googlecode.com/hg/
>
>
> Description:
> regexp: fix a benchmark case
>
> I noticed that this one benchmark in particular was very
> noisy.  Looking into it, I saw that the table was wrong
> and inconsistent with the lines above and below.
>
> Please review this at https://codereview.appspot.com/13393045/
>
> Affected files:
>   src/pkg/regexp/exec_test.go
>
>
> Index: src/pkg/regexp/exec_test.go
> ===================================================================
> --- a/src/pkg/regexp/exec_test.go
> +++ b/src/pkg/regexp/exec_test.go
> @@ -689,7 +689,7 @@
>  func BenchmarkMatchEasy1_32K(b *testing.B)  { benchmark(b, easy1, 32<<10) }
>  func BenchmarkMatchEasy1_1M(b *testing.B)   { benchmark(b, easy1, 1<<20) }
>  func BenchmarkMatchEasy1_32M(b *testing.B)  { benchmark(b, easy1, 32<<20) }
> -func BenchmarkMatchMedium_32(b *testing.B)  { benchmark(b, medium, 1<<0) }
> +func BenchmarkMatchMedium_32(b *testing.B)  { benchmark(b, medium, 32<<0) }
>  func BenchmarkMatchMedium_1K(b *testing.B)  { benchmark(b, medium, 1<<10) }
>  func BenchmarkMatchMedium_32K(b *testing.B) { benchmark(b, medium, 32<<10)
> }
>  func BenchmarkMatchMedium_1M(b *testing.B)  { benchmark(b, medium, 1<<20) }
>
>
> --
>
> ---You received this message because you are subscribed to the Google Groups
> "golang-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-dev+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Sign in to reply to this message.

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