https://github.com/feyeleanor/GoSpeed
Go micro-benchmarks for calculating the speed of language constructs
https://github.com/feyeleanor/GoSpeed
Last synced: 10 months ago
JSON representation
Go micro-benchmarks for calculating the speed of language constructs
- Host: GitHub
- URL: https://github.com/feyeleanor/GoSpeed
- Owner: feyeleanor
- License: other
- Created: 2011-05-23T21:16:11.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2024-03-25T16:00:25.000Z (almost 2 years ago)
- Last Synced: 2024-11-16T23:32:39.041Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 26.4 KB
- Stars: 121
- Watchers: 9
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
- awesome-go-cn - gospeed - benchmarks for calculating the speed of language constructs.) (Benchmarks / 其他软件)
- awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs - ★ 84 (Benchmarks)
- awesome-go-with-stars - gospeed - benchmarks for calculating the speed of language constructs. | 2024-03-25 | (Benchmarks / Other Software)
- awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- awesome-Char - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- awesome-go-cn - gospeed
- awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- go-awesome-with-star-updatetime - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- awesome-go-zh - gospeed
- awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- awesome-go-processed - gospeed - Go micro-benchmarks for calculating the speed of language constructs.| (Benchmarks / Other Software)
- awesome-go - gospeed - benchmarks for calculating the speed of language constructs. | - | - | - | (Benchmarks / Other Software)
- awesome-go-cn - gospeed
- awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- awesome-go-plus - gospeed - Go micro-benchmarks for calculating the speed of language constructs.  (Benchmarks / Other Software)
- awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- fucking-awesome-go - :octocat: gospeed - Go micro-benchmarks for calculating the speed of language constructs. :star: 53 :fork_and_knife: 2 (Benchmarks / Other Software)
- awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- fucking-awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
- awesome-go - gospeed - Go micro-benchmarks for calculating the speed of language constructs. (Benchmarks / Other Software)
README
== About ==
GoSpeed is a library of micro-benchmarks for Go which evolved from the GoLightly project. It's main
utility is for understanding and reasoning about the performance of Go programs.
== Usage ==
Download the repo to a convenient location in your $GOPATH
git clone git@github.com:feyeleanor/gospeed.git
or install it to pkg/mod
go get github.com/feyeleanor/GoSpeed
On macOS/Linux run the benchmarks with:
go test -test.bench=".*"
or on Windows
go test -bench .*
If you're running on older hardware such as an Intel Atom N270 netbook (which the early versions of
GoSpeed were developed on) then you may also need to add a custom timeout to complete benchmarks
which make significant use of channels as the default aggregate test timeout is ten minutes.
On macOS/Linux
go test -test.bench=".*" -test.timeout="60m"
on Windows
go test -bench .* -timeout 60m