checker/doc/optimization.md
Onur Cinar 7e7ad379de
Optimization support. (#7)
* Checker benchmark.

* Optimization guide.
2023-06-14 18:15:52 -07:00

387 B

Optimization Guide

The BenchmarkCheck function helps profiling the library. Generate a profile.out my issuing the command below.

go test -bench=. -benchmem -cpuprofile profile.out

View the analysis through the pprof by issuing the command below.

go tool pprof -http localhost:9000 profile.out

Use the web interface for further optimization work.