Awesome
go-tprof
Overview
Prerequisites
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`)
Install
git clone https://github.com/gokultp/go-tprof.git
cd go-tprof
make config
make
Usage Instructions
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
Features
- Parser and reports logic.
- HTML Page
License
MIT.