-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
testing: benchmarks timing issue when using -count > 1 #25622
Comments
The same issue on arm64: |
I looked into this yesterday and I got nowhere. I'll send a revert for that change. |
Change https://golang.org/cl/115535 mentions this issue: |
I noticed this went in and tried it right away -- looks like it is now working as expected for ppc64le. |
It is now working as expected for arm64. |
@laboger reported in #25520 that 05ca340 introduced timing issues in the results of some benchmarks.
For example, the
ChanNonblocking
benchmark inruntime
is much slower after the 1st iteration on ppc64leThe benchmark uses
RunParallel
. It seems the the change linked above may have introduced timing issues on benchmarks that useRunParallel
. For example, using this:I see on go1.10:
tip:
notice how on tip every run after the 1st consistently reports an higher
ns/op
.The text was updated successfully, but these errors were encountered: