diff options
author | Tianon Gravi <admwiggin@gmail.com> | 2015-01-15 11:54:00 -0700 |
---|---|---|
committer | Tianon Gravi <admwiggin@gmail.com> | 2015-01-15 11:54:00 -0700 |
commit | f154da9e12608589e8d5f0508f908a0c3e88a1bb (patch) | |
tree | f8255d51e10c6f1e0ed69702200b966c9556a431 /test/bench | |
parent | 8d8329ed5dfb9622c82a9fbec6fd99a580f9c9f6 (diff) | |
download | golang-upstream/1.4.tar.gz |
Imported Upstream version 1.4upstream/1.4
Diffstat (limited to 'test/bench')
-rw-r--r-- | test/bench/garbage/parser.go | 2 | ||||
-rw-r--r-- | test/bench/shootout/chameneosredux.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/bench/garbage/parser.go b/test/bench/garbage/parser.go index d85110b63..a685507c5 100644 --- a/test/bench/garbage/parser.go +++ b/test/bench/garbage/parser.go @@ -85,7 +85,7 @@ func main() { var t0 time.Time var numGC uint32 var pauseTotalNs uint64 - pkgroot := runtime.GOROOT() + "/src/pkg/" + pkgroot := runtime.GOROOT() + "/src/" for pass := 0; pass < 2; pass++ { // Once the heap is grown to full size, reset counters. // This hides the start-up pauses, which are much smaller diff --git a/test/bench/shootout/chameneosredux.go b/test/bench/shootout/chameneosredux.go index 339579862..72ce7dd13 100644 --- a/test/bench/shootout/chameneosredux.go +++ b/test/bench/shootout/chameneosredux.go @@ -123,7 +123,7 @@ func pallmall(cols []int) { fmt.Println(msg) tot := 0 // wait for all results - for _ = range cols { + for range cols { result := <-ended tot += result.met fmt.Printf("%v%v\n", result.met, spell(result.same, true)) |