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 languagedep
Go dependency management tool experiment (deprecated)groupcache
groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.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 systemleveldb
The LevelDB key-value database in the Go programming language.gddo
Go Doc Dot Orgpkgsite
[mirror] Home of the pkg.go.dev websitesync
[mirror] concurrency primitivesgofrontend
Go compiler frontend (gccgo)exp
[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 packagesperf
[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.vuln
[mirror] the database client and tools for the Go vulnerability databasexerrors
term
Go terminal and console supportdebug
[mirror] debugging toolsmod
[mirror] Go module mechanics librariesdl
[mirror] go install golang.org/dl/go1.N@latestreview
[mirror] Tool for working with Gerrit code reviewsarch
[mirror] architecture codecwg
Community outreach Working Groupsublime-config
A library for Go environment configuration in Sublime Textgovulncheck-action
[mirror] GitHub action for govulncheckwinstrap
Bootstrapping tools for windows buildersscratch
[mirror] repository used for testingtelemetry
[mirror] Go Telemetry services and librariespkgsite-metrics
Code to serve pkg.go.dev/metrics [mirror]wiki
[mirror] Go Wikigo-get-issue-15410
go-get-issue-15410.github
.allstar
Love Open Source and this site? Check out how you can help us