diff options
author | Russ Cox <rsc@golang.org> | 2011-12-13 17:46:54 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-12-13 17:46:54 -0500 |
commit | 8444d72f7ef0977b1348038d854a8b49b3777781 (patch) | |
tree | a2a265aead4c93129f5261f53121393ca8ef7fa0 /test/bench | |
parent | 65e8601f33b888ae847c76b225f478a729b4c472 (diff) | |
download | go-8444d72f7ef0977b1348038d854a8b49b3777781.tar.gz |
test/bench: move to test/bench/shootout
R=golang-dev, r, gri, bradfitz
CC=golang-dev
http://codereview.appspot.com/5487067
Diffstat (limited to 'test/bench')
-rw-r--r-- | test/bench/shootout/Makefile (renamed from test/bench/Makefile) | 0 | ||||
-rw-r--r-- | test/bench/shootout/binary-tree-freelist.go (renamed from test/bench/binary-tree-freelist.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/binary-tree-freelist.txt (renamed from test/bench/binary-tree-freelist.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/binary-tree.c (renamed from test/bench/binary-tree.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/binary-tree.go (renamed from test/bench/binary-tree.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/binary-tree.txt (renamed from test/bench/binary-tree.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/chameneosredux.c (renamed from test/bench/chameneosredux.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/chameneosredux.go (renamed from test/bench/chameneosredux.go) | 20 | ||||
-rw-r--r-- | test/bench/shootout/chameneosredux.txt (renamed from test/bench/chameneosredux.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/fannkuch-parallel.go (renamed from test/bench/fannkuch-parallel.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/fannkuch-parallel.txt (renamed from test/bench/fannkuch-parallel.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/fannkuch.c (renamed from test/bench/fannkuch.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/fannkuch.go (renamed from test/bench/fannkuch.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/fannkuch.txt (renamed from test/bench/fannkuch.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/fasta-1000.out (renamed from test/bench/fasta-1000.out) | 0 | ||||
-rw-r--r-- | test/bench/shootout/fasta.c (renamed from test/bench/fasta.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/fasta.go (renamed from test/bench/fasta.go) | 3 | ||||
-rw-r--r-- | test/bench/shootout/fasta.txt (renamed from test/bench/fasta.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/k-nucleotide-parallel.go (renamed from test/bench/k-nucleotide-parallel.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/k-nucleotide-parallel.txt (renamed from test/bench/k-nucleotide-parallel.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/k-nucleotide.c (renamed from test/bench/k-nucleotide.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/k-nucleotide.go (renamed from test/bench/k-nucleotide.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/k-nucleotide.txt (renamed from test/bench/k-nucleotide.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/mandelbrot.c (renamed from test/bench/mandelbrot.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/mandelbrot.go (renamed from test/bench/mandelbrot.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/mandelbrot.txt (renamed from test/bench/mandelbrot.txt) | bin | 5011 -> 5011 bytes | |||
-rw-r--r-- | test/bench/shootout/meteor-contest.c (renamed from test/bench/meteor-contest.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/meteor-contest.go (renamed from test/bench/meteor-contest.go) | 9 | ||||
-rw-r--r-- | test/bench/shootout/meteor-contest.txt (renamed from test/bench/meteor-contest.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/nbody.c (renamed from test/bench/nbody.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/nbody.go (renamed from test/bench/nbody.go) | 48 | ||||
-rw-r--r-- | test/bench/shootout/nbody.txt (renamed from test/bench/nbody.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/pidigits.c (renamed from test/bench/pidigits.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/pidigits.go (renamed from test/bench/pidigits.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/pidigits.txt (renamed from test/bench/pidigits.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/regex-dna-parallel.go (renamed from test/bench/regex-dna-parallel.go) | 2 | ||||
-rw-r--r-- | test/bench/shootout/regex-dna-parallel.txt (renamed from test/bench/regex-dna-parallel.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/regex-dna.c (renamed from test/bench/regex-dna.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/regex-dna.go (renamed from test/bench/regex-dna.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/regex-dna.txt (renamed from test/bench/regex-dna.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/reverse-complement.c (renamed from test/bench/reverse-complement.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/reverse-complement.go (renamed from test/bench/reverse-complement.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/reverse-complement.txt (renamed from test/bench/reverse-complement.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/spectral-norm-parallel.go (renamed from test/bench/spectral-norm-parallel.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/spectral-norm.c (renamed from test/bench/spectral-norm.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/spectral-norm.go (renamed from test/bench/spectral-norm.go) | 0 | ||||
-rw-r--r-- | test/bench/shootout/spectral-norm.txt (renamed from test/bench/spectral-norm.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/threadring.c (renamed from test/bench/threadring.c) | 0 | ||||
-rw-r--r-- | test/bench/shootout/threadring.go (renamed from test/bench/threadring.go) | 2 | ||||
-rw-r--r-- | test/bench/shootout/threadring.txt (renamed from test/bench/threadring.txt) | 0 | ||||
-rw-r--r-- | test/bench/shootout/timing.log (renamed from test/bench/timing.log) | 0 | ||||
-rwxr-xr-x | test/bench/shootout/timing.sh (renamed from test/bench/timing.sh) | 0 |
52 files changed, 37 insertions, 47 deletions
diff --git a/test/bench/Makefile b/test/bench/shootout/Makefile index 145fe0cea..145fe0cea 100644 --- a/test/bench/Makefile +++ b/test/bench/shootout/Makefile diff --git a/test/bench/binary-tree-freelist.go b/test/bench/shootout/binary-tree-freelist.go index 071a4e06e..071a4e06e 100644 --- a/test/bench/binary-tree-freelist.go +++ b/test/bench/shootout/binary-tree-freelist.go diff --git a/test/bench/binary-tree-freelist.txt b/test/bench/shootout/binary-tree-freelist.txt index f8286dd88..f8286dd88 100644 --- a/test/bench/binary-tree-freelist.txt +++ b/test/bench/shootout/binary-tree-freelist.txt diff --git a/test/bench/binary-tree.c b/test/bench/shootout/binary-tree.c index 1b4070406..1b4070406 100644 --- a/test/bench/binary-tree.c +++ b/test/bench/shootout/binary-tree.c diff --git a/test/bench/binary-tree.go b/test/bench/shootout/binary-tree.go index 9f867d11a..9f867d11a 100644 --- a/test/bench/binary-tree.go +++ b/test/bench/shootout/binary-tree.go diff --git a/test/bench/binary-tree.txt b/test/bench/shootout/binary-tree.txt index f8286dd88..f8286dd88 100644 --- a/test/bench/binary-tree.txt +++ b/test/bench/shootout/binary-tree.txt diff --git a/test/bench/chameneosredux.c b/test/bench/shootout/chameneosredux.c index ed78c31d7..ed78c31d7 100644 --- a/test/bench/chameneosredux.c +++ b/test/bench/shootout/chameneosredux.c diff --git a/test/bench/chameneosredux.go b/test/bench/shootout/chameneosredux.go index 2cb144004..339579862 100644 --- a/test/bench/chameneosredux.go +++ b/test/bench/shootout/chameneosredux.go @@ -49,20 +49,20 @@ const ( ) var complement = [...]int{ - red | red<<2: red, - red | yellow<<2: blue, - red | blue<<2: yellow, - yellow | red<<2: blue, + red | red<<2: red, + red | yellow<<2: blue, + red | blue<<2: yellow, + yellow | red<<2: blue, yellow | yellow<<2: yellow, - yellow | blue<<2: red, - blue | red<<2: yellow, - blue | yellow<<2: red, - blue | blue<<2: blue, + yellow | blue<<2: red, + blue | red<<2: yellow, + blue | yellow<<2: red, + blue | blue<<2: blue, } var colname = [...]string{ - blue: "blue", - red: "red", + blue: "blue", + red: "red", yellow: "yellow", } diff --git a/test/bench/chameneosredux.txt b/test/bench/shootout/chameneosredux.txt index 6016d59a8..6016d59a8 100644 --- a/test/bench/chameneosredux.txt +++ b/test/bench/shootout/chameneosredux.txt diff --git a/test/bench/fannkuch-parallel.go b/test/bench/shootout/fannkuch-parallel.go index 7e9b98d50..7e9b98d50 100644 --- a/test/bench/fannkuch-parallel.go +++ b/test/bench/shootout/fannkuch-parallel.go diff --git a/test/bench/fannkuch-parallel.txt b/test/bench/shootout/fannkuch-parallel.txt index e66f779ea..e66f779ea 100644 --- a/test/bench/fannkuch-parallel.txt +++ b/test/bench/shootout/fannkuch-parallel.txt diff --git a/test/bench/fannkuch.c b/test/bench/shootout/fannkuch.c index e576b5441..e576b5441 100644 --- a/test/bench/fannkuch.c +++ b/test/bench/shootout/fannkuch.c diff --git a/test/bench/fannkuch.go b/test/bench/shootout/fannkuch.go index b554c77b1..b554c77b1 100644 --- a/test/bench/fannkuch.go +++ b/test/bench/shootout/fannkuch.go diff --git a/test/bench/fannkuch.txt b/test/bench/shootout/fannkuch.txt index e66f779ea..e66f779ea 100644 --- a/test/bench/fannkuch.txt +++ b/test/bench/shootout/fannkuch.txt diff --git a/test/bench/fasta-1000.out b/test/bench/shootout/fasta-1000.out index f1caba0d6..f1caba0d6 100644 --- a/test/bench/fasta-1000.out +++ b/test/bench/shootout/fasta-1000.out diff --git a/test/bench/fasta.c b/test/bench/shootout/fasta.c index 64c1c5205..64c1c5205 100644 --- a/test/bench/fasta.c +++ b/test/bench/shootout/fasta.c diff --git a/test/bench/fasta.go b/test/bench/shootout/fasta.go index d13edd5dc..17ff5dae5 100644 --- a/test/bench/fasta.go +++ b/test/bench/shootout/fasta.go @@ -70,7 +70,7 @@ const ( IA = 3877 IC = 29573 - LookupSize = 4096 + LookupSize = 4096 LookupScale float64 = LookupSize - 1 ) @@ -178,7 +178,6 @@ func main() { Random(homosapiens, 5**n) } - type buffer []byte func (b *buffer) Flush() { diff --git a/test/bench/fasta.txt b/test/bench/shootout/fasta.txt index f1caba0d6..f1caba0d6 100644 --- a/test/bench/fasta.txt +++ b/test/bench/shootout/fasta.txt diff --git a/test/bench/k-nucleotide-parallel.go b/test/bench/shootout/k-nucleotide-parallel.go index 96c80d8f0..96c80d8f0 100644 --- a/test/bench/k-nucleotide-parallel.go +++ b/test/bench/shootout/k-nucleotide-parallel.go diff --git a/test/bench/k-nucleotide-parallel.txt b/test/bench/shootout/k-nucleotide-parallel.txt index 84169b8ec..84169b8ec 100644 --- a/test/bench/k-nucleotide-parallel.txt +++ b/test/bench/shootout/k-nucleotide-parallel.txt diff --git a/test/bench/k-nucleotide.c b/test/bench/shootout/k-nucleotide.c index 3bace391c..3bace391c 100644 --- a/test/bench/k-nucleotide.c +++ b/test/bench/shootout/k-nucleotide.c diff --git a/test/bench/k-nucleotide.go b/test/bench/shootout/k-nucleotide.go index fdc98ed47..fdc98ed47 100644 --- a/test/bench/k-nucleotide.go +++ b/test/bench/shootout/k-nucleotide.go diff --git a/test/bench/k-nucleotide.txt b/test/bench/shootout/k-nucleotide.txt index 84169b8ec..84169b8ec 100644 --- a/test/bench/k-nucleotide.txt +++ b/test/bench/shootout/k-nucleotide.txt diff --git a/test/bench/mandelbrot.c b/test/bench/shootout/mandelbrot.c index c177c088c..c177c088c 100644 --- a/test/bench/mandelbrot.c +++ b/test/bench/shootout/mandelbrot.c diff --git a/test/bench/mandelbrot.go b/test/bench/shootout/mandelbrot.go index 1f9fbfd3d..1f9fbfd3d 100644 --- a/test/bench/mandelbrot.go +++ b/test/bench/shootout/mandelbrot.go diff --git a/test/bench/mandelbrot.txt b/test/bench/shootout/mandelbrot.txt Binary files differindex 2f7bbbc6b..2f7bbbc6b 100644 --- a/test/bench/mandelbrot.txt +++ b/test/bench/shootout/mandelbrot.txt diff --git a/test/bench/meteor-contest.c b/test/bench/shootout/meteor-contest.c index 19c43402c..19c43402c 100644 --- a/test/bench/meteor-contest.c +++ b/test/bench/shootout/meteor-contest.c diff --git a/test/bench/meteor-contest.go b/test/bench/shootout/meteor-contest.go index 6660810eb..34a4e23f9 100644 --- a/test/bench/meteor-contest.go +++ b/test/bench/shootout/meteor-contest.go @@ -43,7 +43,6 @@ import ( var max_solutions = flag.Int("n", 2100, "maximum number of solutions") - func boolInt(b bool) int8 { if b { return 1 @@ -115,7 +114,6 @@ var piece_def = [10][4]int8{ [4]int8{E, E, E, SW}, } - /* To minimize the amount of work done in the recursive solve function below, * I'm going to allocate enough space for all legal rotations of each piece * at each position on the board. That's 10 pieces x 50 board positions x @@ -138,7 +136,6 @@ func rotate(dir int8) int8 { return (dir + 2) % PIVOT } /* Returns the direction flipped on the horizontal axis */ func flip(dir int8) int8 { return (PIVOT - dir) % PIVOT } - /* Returns the new cell index from the specified cell in the * specified direction. The index is only valid if the * starting cell and direction have been checked by the @@ -322,7 +319,6 @@ func record_piece(piece int, minimum int8, first_empty int8, piece_mask uint64) piece_counts[piece][minimum]++ } - /* Fill the entire board going cell by cell. If any cells are "trapped" * they will be left alone. */ @@ -351,7 +347,6 @@ func fill_contiguous_space(board []int8, index int8) { } } - /* To thin the number of pieces, I calculate if any of them trap any empty * cells at the edges. There are only a handful of exceptions where the * the board can be solved with the trapped cells. For example: piece 8 can @@ -382,7 +377,6 @@ func has_island(cell []int8, piece int) bool { return true } - /* Calculate all six rotations of the specified piece at the specified index. * We calculate only half of piece 3's rotations. This is because any solution * found has an identical solution rotated 180 degrees. Thus we can reduce the @@ -417,7 +411,6 @@ func calc_pieces() { } } - /* Calculate all 32 possible states for a 5-bit row and all rows that will * create islands that follow any of the 32 possible rows. These pre- * calculated 5-bit rows will be used to find islands in a partially solved @@ -530,7 +523,6 @@ func calc_rows() { } } - /* Calculate islands while solving the board. */ func boardHasIslands(cell int8) int8 { @@ -545,7 +537,6 @@ func boardHasIslands(cell int8) int8 { return bad_even_triple[current_triple] } - /* The recursive solve algorithm. Try to place each permutation in the upper- * leftmost empty cell. Mark off available pieces as it goes along. * Because the board is a bit mask, the piece number and bit mask must be saved diff --git a/test/bench/meteor-contest.txt b/test/bench/shootout/meteor-contest.txt index 38d9783d6..38d9783d6 100644 --- a/test/bench/meteor-contest.txt +++ b/test/bench/shootout/meteor-contest.txt diff --git a/test/bench/nbody.c b/test/bench/shootout/nbody.c index 3b95b0592..3b95b0592 100644 --- a/test/bench/nbody.c +++ b/test/bench/shootout/nbody.c diff --git a/test/bench/nbody.go b/test/bench/shootout/nbody.go index e9f4517e8..988f3ba9c 100644 --- a/test/bench/nbody.go +++ b/test/bench/shootout/nbody.go @@ -125,39 +125,39 @@ func (sys System) advance(dt float64) { var ( jupiter = Body{ - x: 4.84143144246472090e+00, - y: -1.16032004402742839e+00, - z: -1.03622044471123109e-01, - vx: 1.66007664274403694e-03 * daysPerYear, - vy: 7.69901118419740425e-03 * daysPerYear, - vz: -6.90460016972063023e-05 * daysPerYear, + x: 4.84143144246472090e+00, + y: -1.16032004402742839e+00, + z: -1.03622044471123109e-01, + vx: 1.66007664274403694e-03 * daysPerYear, + vy: 7.69901118419740425e-03 * daysPerYear, + vz: -6.90460016972063023e-05 * daysPerYear, mass: 9.54791938424326609e-04 * solarMass, } saturn = Body{ - x: 8.34336671824457987e+00, - y: 4.12479856412430479e+00, - z: -4.03523417114321381e-01, - vx: -2.76742510726862411e-03 * daysPerYear, - vy: 4.99852801234917238e-03 * daysPerYear, - vz: 2.30417297573763929e-05 * daysPerYear, + x: 8.34336671824457987e+00, + y: 4.12479856412430479e+00, + z: -4.03523417114321381e-01, + vx: -2.76742510726862411e-03 * daysPerYear, + vy: 4.99852801234917238e-03 * daysPerYear, + vz: 2.30417297573763929e-05 * daysPerYear, mass: 2.85885980666130812e-04 * solarMass, } uranus = Body{ - x: 1.28943695621391310e+01, - y: -1.51111514016986312e+01, - z: -2.23307578892655734e-01, - vx: 2.96460137564761618e-03 * daysPerYear, - vy: 2.37847173959480950e-03 * daysPerYear, - vz: -2.96589568540237556e-05 * daysPerYear, + x: 1.28943695621391310e+01, + y: -1.51111514016986312e+01, + z: -2.23307578892655734e-01, + vx: 2.96460137564761618e-03 * daysPerYear, + vy: 2.37847173959480950e-03 * daysPerYear, + vz: -2.96589568540237556e-05 * daysPerYear, mass: 4.36624404335156298e-05 * solarMass, } neptune = Body{ - x: 1.53796971148509165e+01, - y: -2.59193146099879641e+01, - z: 1.79258772950371181e-01, - vx: 2.68067772490389322e-03 * daysPerYear, - vy: 1.62824170038242295e-03 * daysPerYear, - vz: -9.51592254519715870e-05 * daysPerYear, + x: 1.53796971148509165e+01, + y: -2.59193146099879641e+01, + z: 1.79258772950371181e-01, + vx: 2.68067772490389322e-03 * daysPerYear, + vy: 1.62824170038242295e-03 * daysPerYear, + vz: -9.51592254519715870e-05 * daysPerYear, mass: 5.15138902046611451e-05 * solarMass, } sun = Body{ diff --git a/test/bench/nbody.txt b/test/bench/shootout/nbody.txt index 1731557ce..1731557ce 100644 --- a/test/bench/nbody.txt +++ b/test/bench/shootout/nbody.txt diff --git a/test/bench/pidigits.c b/test/bench/shootout/pidigits.c index c064da0dd..c064da0dd 100644 --- a/test/bench/pidigits.c +++ b/test/bench/shootout/pidigits.c diff --git a/test/bench/pidigits.go b/test/bench/shootout/pidigits.go index a0f21a91d..a0f21a91d 100644 --- a/test/bench/pidigits.go +++ b/test/bench/shootout/pidigits.go diff --git a/test/bench/pidigits.txt b/test/bench/shootout/pidigits.txt index ad946a9e8..ad946a9e8 100644 --- a/test/bench/pidigits.txt +++ b/test/bench/shootout/pidigits.txt diff --git a/test/bench/regex-dna-parallel.go b/test/bench/shootout/regex-dna-parallel.go index 1335e4d34..9c6d42101 100644 --- a/test/bench/regex-dna-parallel.go +++ b/test/bench/shootout/regex-dna-parallel.go @@ -39,8 +39,8 @@ import ( "fmt" "io/ioutil" "os" - "runtime" "regexp" + "runtime" ) var variants = []string{ diff --git a/test/bench/regex-dna-parallel.txt b/test/bench/shootout/regex-dna-parallel.txt index e23e71fd6..e23e71fd6 100644 --- a/test/bench/regex-dna-parallel.txt +++ b/test/bench/shootout/regex-dna-parallel.txt diff --git a/test/bench/regex-dna.c b/test/bench/shootout/regex-dna.c index 134f8215c..134f8215c 100644 --- a/test/bench/regex-dna.c +++ b/test/bench/shootout/regex-dna.c diff --git a/test/bench/regex-dna.go b/test/bench/shootout/regex-dna.go index 042d7f283..042d7f283 100644 --- a/test/bench/regex-dna.go +++ b/test/bench/shootout/regex-dna.go diff --git a/test/bench/regex-dna.txt b/test/bench/shootout/regex-dna.txt index e23e71fd6..e23e71fd6 100644 --- a/test/bench/regex-dna.txt +++ b/test/bench/shootout/regex-dna.txt diff --git a/test/bench/reverse-complement.c b/test/bench/shootout/reverse-complement.c index b34c84696..b34c84696 100644 --- a/test/bench/reverse-complement.c +++ b/test/bench/shootout/reverse-complement.c diff --git a/test/bench/reverse-complement.go b/test/bench/shootout/reverse-complement.go index baa30ffcc..baa30ffcc 100644 --- a/test/bench/reverse-complement.go +++ b/test/bench/shootout/reverse-complement.go diff --git a/test/bench/reverse-complement.txt b/test/bench/shootout/reverse-complement.txt index 14d792ade..14d792ade 100644 --- a/test/bench/reverse-complement.txt +++ b/test/bench/shootout/reverse-complement.txt diff --git a/test/bench/spectral-norm-parallel.go b/test/bench/shootout/spectral-norm-parallel.go index 2706f39ec..2706f39ec 100644 --- a/test/bench/spectral-norm-parallel.go +++ b/test/bench/shootout/spectral-norm-parallel.go diff --git a/test/bench/spectral-norm.c b/test/bench/shootout/spectral-norm.c index 832eb3d21..832eb3d21 100644 --- a/test/bench/spectral-norm.c +++ b/test/bench/shootout/spectral-norm.c diff --git a/test/bench/spectral-norm.go b/test/bench/shootout/spectral-norm.go index 6667f3e04..6667f3e04 100644 --- a/test/bench/spectral-norm.go +++ b/test/bench/shootout/spectral-norm.go diff --git a/test/bench/spectral-norm.txt b/test/bench/shootout/spectral-norm.txt index b9885983e..b9885983e 100644 --- a/test/bench/spectral-norm.txt +++ b/test/bench/shootout/spectral-norm.txt diff --git a/test/bench/threadring.c b/test/bench/shootout/threadring.c index 2c4fb7751..2c4fb7751 100644 --- a/test/bench/threadring.c +++ b/test/bench/shootout/threadring.c diff --git a/test/bench/threadring.go b/test/bench/shootout/threadring.go index 031908a20..e76dd0b45 100644 --- a/test/bench/threadring.go +++ b/test/bench/shootout/threadring.go @@ -52,7 +52,7 @@ func f(i int, in <-chan int, out chan<- int) { fmt.Printf("%d\n", i) os.Exit(0) } - out <- n-1 + out <- n - 1 } } diff --git a/test/bench/threadring.txt b/test/bench/shootout/threadring.txt index f9aaa4d56..f9aaa4d56 100644 --- a/test/bench/threadring.txt +++ b/test/bench/shootout/threadring.txt diff --git a/test/bench/timing.log b/test/bench/shootout/timing.log index 2541a766b..2541a766b 100644 --- a/test/bench/timing.log +++ b/test/bench/shootout/timing.log diff --git a/test/bench/timing.sh b/test/bench/shootout/timing.sh index 473c9b312..473c9b312 100755 --- a/test/bench/timing.sh +++ b/test/bench/shootout/timing.sh |