1. Go version >= 1.12
2. Node.js version >= 8.0.0 (for building the UI)
3. Yarn
4. GOPATH and local bin setup (`export PATH=$PATH:$GOPATH/bin`)
git clone https://github.com/gokultp/go-tprof.git
cd go-tprof
make config
make
tprof
is not a replacement for go test
, it just parses the results and generates reports out of it.
To execute
go test <pkg name> -v | tprof
Eg:
go test encoding/... -v | tprof
- Parser and reports logic.
- HTML Page
MIT.