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

Issue 4237055: code review 4237055: testing: run GC before each benchmark run. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 2 months ago by rog
Modified:
14 years, 2 months ago
Reviewers:
CC:
r, rh, gri, rsc, golang-dev
Visibility:
Public.

Description

testing: run GC before each benchmark run.

Patch Set 1 #

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

Patch Set 3 : diff -r 98d584670c65 https://go.googlecode.com/hg/ #

Total comments: 4

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M src/pkg/testing/benchmark.go View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7
rog
Hello r (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 2 months ago (2011-03-03 18:32:35 UTC) #1
r
I think this is reasonable but would like a second opinion. (I know, I'm ugly.) ...
14 years, 2 months ago (2011-03-03 18:34:08 UTC) #2
rh
http://codereview.appspot.com/4237055/diff/3001/src/pkg/testing/benchmark.go File src/pkg/testing/benchmark.go (right): http://codereview.appspot.com/4237055/diff/3001/src/pkg/testing/benchmark.go#newcode69 src/pkg/testing/benchmark.go:69: runtime.GC() Is it worth a small comment explaining why ...
14 years, 2 months ago (2011-03-03 18:56:10 UTC) #3
gri
LGTM I think it is reasonable to have the GC call. I haven't tried it ...
14 years, 2 months ago (2011-03-03 19:02:07 UTC) #4
rog
http://codereview.appspot.com/4237055/diff/3001/src/pkg/testing/benchmark.go File src/pkg/testing/benchmark.go (right): http://codereview.appspot.com/4237055/diff/3001/src/pkg/testing/benchmark.go#newcode68 src/pkg/testing/benchmark.go:68: b.N = n On 2011/03/03 19:02:07, gri wrote: > ...
14 years, 2 months ago (2011-03-03 19:11:20 UTC) #5
rsc
LGTM
14 years, 2 months ago (2011-03-03 19:19:00 UTC) #6
r
14 years, 2 months ago (2011-03-03 19:27:01 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=10af7f44ea11 ***

testing: run GC before each benchmark run.

R=r, rh, gri, rsc
CC=golang-dev
http://codereview.appspot.com/4237055

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