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

Issue 4625065: code review 4625065: runtime: add Semacquire/Semrelease benchmarks (Closed)

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

Description

runtime: add Semacquire/Semrelease benchmarks

Patch Set 1 #

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

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

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

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

Total comments: 3

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

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

Total comments: 1

Patch Set 8 : diff -r b295b8bda20b https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 9 : diff -r b295b8bda20b https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r b295b8bda20b https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 11 : diff -r 9e53a1312e25 https://go.googlecode.com/hg/ #

Patch Set 12 : diff -r 607e0f74161f https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -0 lines) Patch
A src/pkg/runtime/sema_test.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +100 lines, -0 lines 0 comments Download

Messages

Total messages: 22
dvyukov
Hello golang-dev@googlegroups.com (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-06-24 12:24:51 UTC) #1
dvyukov
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2011-06-24 13:06:20 UTC) #2
dvyukov
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2011-06-27 11:46:46 UTC) #3
rsc
CL description first line should be runtime: add Semacquire/Semrelease benchmark http://codereview.appspot.com/4625065/diff/12001/src/pkg/runtime/sema_test.go File src/pkg/runtime/sema_test.go (right): http://codereview.appspot.com/4625065/diff/12001/src/pkg/runtime/sema_test.go#newcode49 ...
14 years, 2 months ago (2011-06-27 16:19:36 UTC) #4
dvyukov
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2011-06-27 17:49:40 UTC) #5
dvyukov
On 2011/06/27 16:19:36, rsc wrote: > CL description first line should be > > runtime: ...
14 years, 2 months ago (2011-06-27 17:51:21 UTC) #6
rsc
http://codereview.appspot.com/4625065/diff/8002/src/pkg/runtime/sema_test.go File src/pkg/runtime/sema_test.go (right): http://codereview.appspot.com/4625065/diff/8002/src/pkg/runtime/sema_test.go#newcode77 src/pkg/runtime/sema_test.go:77: if block { I now have no idea what's ...
14 years, 2 months ago (2011-06-27 17:53:19 UTC) #7
dvyukov
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2011-06-27 18:15:03 UTC) #8
dvyukov
On 2011/06/27 17:53:19, rsc wrote: > http://codereview.appspot.com/4625065/diff/8002/src/pkg/runtime/sema_test.go > File src/pkg/runtime/sema_test.go (right): > > http://codereview.appspot.com/4625065/diff/8002/src/pkg/runtime/sema_test.go#newcode77 > ...
14 years, 2 months ago (2011-06-27 18:17:34 UTC) #9
dvyukov
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2011-06-27 18:19:20 UTC) #10
rsc
You have two different conditions here. Please use two different channels. http://codereview.appspot.com/4625065/diff/14002/src/pkg/runtime/sema_test.go File src/pkg/runtime/sema_test.go (right): ...
14 years, 2 months ago (2011-06-27 18:20:32 UTC) #11
dvyukov
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2011-06-27 18:41:05 UTC) #12
dvyukov
On 2011/06/27 18:20:32, rsc wrote: > You have two different conditions here. > Please use ...
14 years, 2 months ago (2011-06-27 18:42:12 UTC) #13
rsc
Much nicer. Now the first if can be if block { sem = -procs/2 }
14 years, 2 months ago (2011-06-27 18:44:04 UTC) #14
dvyukov
On 2011/06/27 18:44:04, rsc wrote: > Much nicer. > > Now the first if can ...
14 years, 2 months ago (2011-06-27 18:52:46 UTC) #15
rsc
>> if block { >> sem = -procs/2 >> } > > It would be ...
14 years, 2 months ago (2011-06-27 19:34:56 UTC) #16
rsc
>> It would be nice. But I afraid it won't work as expected. > > ...
14 years, 2 months ago (2011-06-27 19:36:28 UTC) #17
rsc
LGTM http://codereview.appspot.com/4625065/diff/13002/src/pkg/runtime/sema_test.go File src/pkg/runtime/sema_test.go (right): http://codereview.appspot.com/4625065/diff/13002/src/pkg/runtime/sema_test.go#newcode8 src/pkg/runtime/sema_test.go:8: "sync/atomic" move down one line (sort)
14 years, 2 months ago (2011-06-27 19:38:57 UTC) #18
dvyukov
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2011-06-28 10:10:32 UTC) #19
dvyukov
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2011-06-28 14:58:09 UTC) #20
rsc
LGTM
14 years, 2 months ago (2011-06-28 15:13:56 UTC) #21
rsc
14 years, 2 months ago (2011-06-28 15:15:31 UTC) #22
*** Submitted as http://code.google.com/p/go/source/detail?r=c63f30ac7770 ***

runtime: add Semacquire/Semrelease benchmarks

R=rsc
CC=golang-dev
http://codereview.appspot.com/4625065

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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