https://github.com/marclop/alloc-bench
misc bench tests
https://github.com/marclop/alloc-bench
Last synced: about 1 year ago
JSON representation
misc bench tests
- Host: GitHub
- URL: https://github.com/marclop/alloc-bench
- Owner: marclop
- Created: 2018-04-13T08:55:45.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-13T09:47:31.000Z (about 8 years ago)
- Last Synced: 2025-02-15T02:19:09.417Z (over 1 year ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Nothing to see here. move along
make bench
goos: darwin
goarch: amd64
pkg: github.com/marclop/alloc-bench
BenchmarkPlain-8 300000000 5.88 ns/op 0 B/op 0 allocs/op
BenchmarkPointer-8 2000000000 0.56 ns/op 0 B/op 0 allocs/op
BenchmarkPlainAlloc-8 100000000 10.2 ns/op 0 B/op 0 allocs/op
BenchmarkPointerAlloc-8 300000000 4.48 ns/op 0 B/op 0 allocs/op
BenchmarkPointerAllocAlternate-8 300000000 4.51 ns/op 0 B/op 0 allocs/op
PASS