commit | b69f823ece741f21d06591657f4e0a5b17d492e3 | [log] [tgz] |
---|---|---|
author | Caleb Spare <cespare@gmail.com> | Fri Jun 25 13:40:30 2021 -0700 |
committer | Emmanuel Odeke <emmanuel@orijtech.com> | Thu Oct 07 21:46:33 2021 +0000 |
tree | 988dda7015bc3824a9fcca56e80d699366e13eab | |
parent | 6b4cf2be9385ea25fed011f7c862d9e023b71df6 [diff] |
testing: with -benchtime=1x, run the benchmark loop exactly once Like with -benchtime=1ns, if we find that the "discovery" round (run1) has already crossed the -benchtime threshold, we skip running more iterations. Fixes #32051 Change-Id: I76aaef2ba521ba8ad6bbde2b14977e191aada5e4 Reviewed-on: https://go-review.googlesource.com/c/go/+/331089 Trust: Caleb Spare <cespare@gmail.com> Run-TryBot: Caleb Spare <cespare@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://golang.org/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.