]> Cypherpunks repositories - gostls13.git/commit
testing: clarify how B.Loop avoids optimizing away all the useful work
authorthepudds <thepudds1460@gmail.com>
Wed, 2 Apr 2025 21:23:24 +0000 (17:23 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 3 Apr 2025 19:24:34 +0000 (12:24 -0700)
commitab2926291ba7003dcec7f46824d5f58c344ca849
tree03d52928f31cf2789f8a75b4332a94eebf8b9d3f
parentce94e916fe262a51c398153b03dd9a657418bbe8
testing: clarify how B.Loop avoids optimizing away all the useful work

As discussed in #73137, we want to clarify the description of how
B.Loop avoids surprising optimizations, while also hinting that
the exact approach might change in the future.

Updates #73137

Change-Id: I8536540cd5d79804a47fba8cd6eec3821864309d
Reviewed-on: https://go-review.googlesource.com/c/go/+/662356
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Auto-Submit: Alan Donovan <adonovan@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/testing/benchmark.go