7f05a255a0
Benchmark from the go-list-benchmark branch shows the following result:
goos: darwin
goarch: arm64
pkg: cmd/go
cpu: Apple M1 Max
│ old.txt │ new.txt │
│ sec/op │ sec/op vs base │
ListModules/Empty-10 7.768m ± 5% 7.768m ± 6% ~ (p=0.989 n=20)
ListModules/Cmd-10 272.3m ± 2% 137.8m ± 2% -49.40% (p=0.000 n=20)
ListModules/K8S-10 10.741 ± 2% 2.525 ± 5% -76.49% (p=0.000 n=20)
geomean 283.2m 139.3m -50.82%
│ old.txt │ new.txt │
│ sys-sec/op │ sys-sec/op vs base │
ListModules/Empty-10 2.380m ± 9% 2.443m ± 9% ~ (p=0.314 n=20)
ListModules/Cmd-10 51.84m ± 13% 47.27m ± 14% ~ (p=0.289 n=20)
ListModules/K8S-10 1.660 ± 8% 1.485 ± 28% ~ (p=0.512 n=20)
geomean 58.95m 55.56m -5.75%
│ old.txt │ new.txt │
│ user-sec/op │ user-sec/op vs base │
ListModules/Empty-10 3.034m ± 4% 3.053m ± 3% ~ (p=0.445 n=20)
ListModules/Cmd-10 18.01m ± 11% 15.39m ± 5% -14.55% (p=0.000 n=20)
ListModules/K8S-10 407.6m ± 11% 209.2m ± 49% -48.67% (p=0.000 n=20)
geomean 28.13m 21.42m -23.86%
Fixes #63136
Change-Id: Ifd406a52494eb37430306ee1f29a8bf5c1973007
GitHub-Last-Rev:
|
||
---|---|---|
.github | ||
api | ||
doc | ||
lib/time | ||
misc | ||
src | ||
test | ||
.gitattributes | ||
.gitignore | ||
codereview.cfg | ||
CONTRIBUTING.md | ||
go.env | ||
LICENSE | ||
PATENTS | ||
README.md | ||
SECURITY.md |
The Go Programming Language
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 4.0 Attribution 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.
Download and Install
Binary Distributions
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
Install From Source
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Contributing
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.