Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: unexpected output with go test -count #14964

Closed
OneOfOne opened this issue Mar 25, 2016 · 2 comments
Closed

cmd/go: unexpected output with go test -count #14964

OneOfOne opened this issue Mar 25, 2016 · 2 comments
Milestone

Comments

@OneOfOne
Copy link
Contributor

Please answer these questions before submitting your issue. Thanks!

  1. What version of Go are you using (go version)?
    go version devel +bd34da6 2016-03-25 17:23:32 +0200 linux/amd64
  2. What operating system and processor architecture are you using (go env)?
    Linux amd64
  3. What did you do?
    go test -bench BenchmarkGrowSliceBytes -run NONE -count 5
  4. What did you expect to see?
BenchmarkGrowSliceBytes-8                       100000000               32.2 ns/op             8 B/op          1 allocs/op
.... 5 times
  1. What did you see instead?
BenchmarkGrowSliceBytes-8                       100000000               32.2 ns/op             8 B/op          1 allocs/op
BenchmarkGrowSliceBytes-8                       100000000               33.2 ns/op             8 B/op          1 allocs/op
BenchmarkGrowSliceBytes-8-8                     100000000               32.9 ns/op             8 B/op          1 allocs/op
BenchmarkGrowSliceBytes-8-8-8                   100000000               32.6 ns/op             8 B/op          1 allocs/op
BenchmarkGrowSliceBytes-8-8-8-8                 100000000               33.4 ns/op             8 B/op          1 allocs/op
@ianlancetaylor ianlancetaylor changed the title cmd/test: unexpected output with go test -count cmd/go: unexpected output with go test -count Mar 25, 2016
@ianlancetaylor ianlancetaylor added this to the Go1.7 milestone Mar 25, 2016
@ALTree
Copy link
Member

ALTree commented Mar 25, 2016

Introduced in 31e5d83.

@gopherbot
Copy link

CL https://golang.org/cl/21139 mentions this issue.

@golang golang locked and limited conversation to collaborators Mar 27, 2017
@rsc rsc unassigned mpvl Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants