diff options
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)) |