Adding a Benchmark
Profiling your Benchmark
go test -bench=. -run=x -memprofile mem.prof -cpuprofile cpu.prof
References
Reference | URL |
---|---|
Go (Golang) Profiling Tutorial | https://www.youtube.com/watch?v=HEwSkhr_8_M |
Adding a Benchmark
Profiling your Benchmark
go test -bench=. -run=x -memprofile mem.prof -cpuprofile cpu.prof
Reference | URL |
---|---|
Go (Golang) Profiling Tutorial | https://www.youtube.com/watch?v=HEwSkhr_8_M |