Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taxintt/go-bench-sample
https://github.com/taxintt/go-bench-sample
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/taxintt/go-bench-sample
- Owner: taxintt
- Created: 2023-01-21T05:14:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-10T14:15:32.000Z (about 1 year ago)
- Last Synced: 2024-04-17T19:27:33.513Z (9 months ago)
- Language: Go
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-bench-sample
## bench
```bash
go test -bench .
```## bench with cpu profiling
```bashgo tool pprof --text ./pprof/test.bin ./pprof/cpu.out
go test -bench . -o ./pprof/test.bin -cpuprofile ./pprof/cpu.out
```