aboutsummaryrefslogtreecommitdiff
path: root/test/bench
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-08 00:06:45 -0400
committerRuss Cox <rsc@golang.org>2014-09-08 00:06:45 -0400
commit220a6de47eced55956eb8af8d643d4f5b67fd634 (patch)
tree42b42e46557bf21b1d1917d9a6b8d04c721472bf /test/bench
parent36ca636fab865cb8d5d01927d274ed54153c4e73 (diff)
downloadgo-220a6de47eced55956eb8af8d643d4f5b67fd634.tar.gz
go-220a6de47eced55956eb8af8d643d4f5b67fd634.zip
build: adjustments for move from src/pkg to src
This CL adjusts code referring to src/pkg to refer to src. Immediately after submitting this CL, I will submit a change doing 'hg mv src/pkg/* src'. That change will be too large to review with Rietveld but will contain only the 'hg mv'. This CL will break the build. The followup 'hg mv' will fix it. For more about the move, see golang.org/s/go14nopkg. LGTM=r R=r CC=golang-codereviews https://golang.org/cl/134570043
Diffstat (limited to 'test/bench')
-rw-r--r--test/bench/garbage/parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bench/garbage/parser.go b/test/bench/garbage/parser.go
index d85110b63d..a685507c5e 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