https://github.com/aodin/gobench
Benchmarking Go
https://github.com/aodin/gobench
Last synced: 2 months ago
JSON representation
Benchmarking Go
- Host: GitHub
- URL: https://github.com/aodin/gobench
- Owner: aodin
- License: mit
- Created: 2021-01-04T22:56:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-04T23:14:03.000Z (over 4 years ago)
- Last Synced: 2023-03-24T06:34:50.605Z (about 2 years ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gobench
Benchmarking Gogo test -bench=BenchmarkRandStringBytesRmndr -benchmem
#### 2020 MacBook Pro M1
```sh
goos: darwin
goarch: arm64
pkg: github.com/aodin/gobench
BenchmarkRandStringBytesRmndr-8 5611254 178.7 ns/op 32 B/op 2 allocs/op
PASS
ok github.com/aodin/gobench 1.609s
```#### Mid 2014 MacBook Pro 2.6 GHz Dual-Core Intel Core i5
```sh
goos: darwin
goarch: amd64
pkg: github.com/aodin/gobench
BenchmarkRandStringBytesRmndr-4 4203007 276 ns/op 32 B/op 2 allocs/op
PASS
ok github.com/aodin/gobench 1.658s
```