You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Adding a Benchmark 

Profiling your Benchmark 

go test -bench=. -run=x -memprofile mem.prof -cpuprofile cpu.prof
  • No labels