There are no reviews yet. Be the first to send feedback to the community and the maintainers!
This subrepository holds macro-benchmarks used for Go performance development and monitoring. Each benchmark is compiled into a separate binary. To build and install them all in the current directory, execute: $ GOBIN=$PWD go get golang.org/x/benchmarks/... To run a benchmark, simply execute its binary. Each binary has a number of flags to control benchmark duration, etc. Run with '-help' to get the full list of flags. When the benchmarking finishes, the binary prints results in the standard Go benchmark format [1]: $ garbage BenchmarkGarbage/benchmem-MB=64-4 2000 6443223 ns/op 6008832 GC-bytes-from-system 230521 STW-ns/GC 15329 STW-ns/op 2780501 allocated-bytes/op 68636 allocs/op 119041368 bytes-from-system 104202240 heap-bytes-from-system 8109400 other-bytes-from-system 112427008 peak-RSS-bytes 121511936 peak-VM-bytes 720896 stack-bytes-from-system 25194000 user+sys-ns/op This format can be processed by tools like benchstat (https://golang.org/x/perf/cmd/benchstat) and benchplot (https://godoc.org/github.com/aclements/go-misc/benchplot). Required extra tools: For Linux, you need "perf". On Debian/Ubuntu, you can install package "perf-tools-common" to get it. Run "perf" once with no arguments to check if it requires additional packages to be installed. To submit changes to this repository, see http://golang.org/doc/contribute.html. [1] https://github.com/golang/proposal/blob/master/design/14313-benchmark-format.md
go
The Go programming languagegroupcache
groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.dep
Go dependency management tool experiment (deprecated)protobuf
Go support for Google's protocol buffersmock
GoMock is a mocking framework for the Go programming language.tools
[mirror] Go Toolsmobile
[mirror] Go on Mobileoauth2
Go OAuth2lint
[mirror] This is a linter for Go source code. (deprecated)vscode-go
Go extension for Visual Studio Codeglog
Leveled execution logs for Goproposal
Go Project Design Documentscrypto
[mirror] Go supplementary cryptography librariesnet
[mirror] Go supplementary network librariesexample
Go example projectsgeo
S2 geometry library in Gotour
[mirror] A Tour of Govgo
[mirror] Versioned Go Prototypesnappy
The Snappy compression format in the Go programming language.sys
[mirror] Go packages for low-level interaction with the operating systempkgsite
[mirror] Home of the pkg.go.dev websiteleveldb
The LevelDB key-value database in the Go programming language.gddo
Go Doc Dot Orggofrontend
Go compiler frontend (gccgo)sync
[mirror] concurrency primitivesexp
[mirror] Experimental and deprecated packagesfreetype
The Freetype font rasterizer in the Go programming language.text
[mirror] Go text processing supportplayground
[mirror] The Go Playgroundtalks
Go talksappengine
Go App Engine packagesbuild
[mirror] Go's continuous build and release infrastructure (no stability promises)vulndb
[mirror] The Go Vulnerability Databaseimage
[mirror] Go supplementary image librariesblog
[mirror] Go Blog (obsolete)time
[mirror] Go supplementary time packagesvuln
[mirror] the database client and tools for the Go vulnerability databaseperf
[mirror] Performance measurement, storage, and analysis.website
[mirror] Home of the go.dev and golang.org websitessublime-build
The official Sublime Text package for Go build system integration.xerrors
term
Go terminal and console supportdebug
[mirror] debugging toolsdl
[mirror] go install golang.org/dl/go1.N@latestmod
[mirror] Go module mechanics librariesarch
[mirror] architecture codereview
[mirror] Tool for working with Gerrit code reviewscwg
Community outreach Working Grouposcar
[mirror] Open source contributor agent architecture repo.govulncheck-action
[mirror] GitHub action for govulnchecksublime-config
A library for Go environment configuration in Sublime Textwinstrap
Bootstrapping tools for windows builderstelemetry
[mirror] Go Telemetry services and librarieswiki
[mirror] Go Wikiscratch
[mirror] repository used for testingpkgsite-metrics
Code to serve pkg.go.dev/metrics [mirror]go-get-issue-15410
go-get-issue-15410.github
.allstar
Love Open Source and this site? Check out how you can help us