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

Issue 881042: code review 881042: Reworked k-nucleotide benchmark to use goroutines/cha... (Closed)

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

Description

Reworked k-nucleotide benchmark to use goroutines/channels for parallelism. Goes from ~12s to ~7.7 on my two-core machine. I'm not sure if the goal is to have the Go programs here work the same as the C versions or to have them do what is most efficient; this change assumes the latter.

Patch Set 1 #

Patch Set 2 : code review 881042: Reworked k-nucleotide benchmark to use goroutines/cha... #

Patch Set 3 : code review 881042: Reworked k-nucleotide benchmark to use goroutines/cha... #

Patch Set 4 : code review 881042: Reworked k-nucleotide benchmark to use goroutines/cha... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -14 lines) Patch
M test/bench/k-nucleotide-parallel.go View 4 chunks +29 lines, -14 lines 0 comments Download
A test/bench/k-nucleotide-parallel.txt View 1 chunk +27 lines, -0 lines 0 comments Download
M test/bench/timing.sh View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8
Kyle C
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 12 months ago (2010-04-02 00:11:22 UTC) #1
r2
As long as it gets the right answer honestly (which is a relative term, I ...
14 years, 12 months ago (2010-04-02 04:03:15 UTC) #2
rsc
I'd also like to have the C and Go versions of the same program be ...
14 years, 12 months ago (2010-04-02 04:13:38 UTC) #3
Kyle C
On 2010/04/02 04:13:38, rsc wrote: > I'd also like to have the C and Go ...
14 years, 12 months ago (2010-04-02 17:38:23 UTC) #4
Kyle C
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 12 months ago (2010-04-02 17:39:23 UTC) #5
Kyle C
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 12 months ago (2010-04-03 00:14:40 UTC) #6
rsc1
LGTM thanks
14 years, 12 months ago (2010-04-06 05:31:39 UTC) #7
rsc
14 years, 12 months ago (2010-04-06 05:32:41 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=d927697df300 ***

test/bench: add k-nucleotide-parallel

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

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