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

Issue 4657053: code review 4657053: testing: scale benchmark precision to 0.01ns if needed (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by rsc
Modified:
12 years, 10 months ago
Reviewers:
CC:
dvyukov, r2, golang-dev
Visibility:
Public.

Description

testing: scale benchmark precision to 0.01ns if needed

Patch Set 1 #

Total comments: 1

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

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

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

Messages

Total messages: 5
rsc
Hello dvyukov@google.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg
12 years, 10 months ago (2011-06-27 19:03:54 UTC) #1
dvyukov
Other than that, LGTM. http://codereview.appspot.com/4657053/diff/1/src/pkg/testing/benchmark.go File src/pkg/testing/benchmark.go (right): http://codereview.appspot.com/4657053/diff/1/src/pkg/testing/benchmark.go#newcode183 src/pkg/testing/benchmark.go:183: ns = fmt.Sprintf("%12.1f ns/op", float64(r.Ns) ...
12 years, 10 months ago (2011-06-27 19:43:09 UTC) #2
rsc
> Currently it looks like: > sync_test.BenchmarkOnce-2 5000000 113 ns/op > sync_test.BenchmarkOnce-4 10000000 63.6 ns/op ...
12 years, 10 months ago (2011-06-27 19:44:56 UTC) #3
r2
LGTM
12 years, 10 months ago (2011-06-27 21:33:08 UTC) #4
rsc
12 years, 10 months ago (2011-06-27 22:50:34 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=1d3fd52f578f ***

testing: scale benchmark precision to 0.01ns if needed

R=dvyukov, r
CC=golang-dev
http://codereview.appspot.com/4657053
Sign in to reply to this message.

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