~blainsmith/pprof.sh - Helper script to profile Go benchmark tests. - sourcehut git

1 min read Original article ↗

#pprof.sh

Nothing too fancy here, but just a helper script to lower the bar for getting started/using Go's pprof capabilities against benchmark tests.

#Install

> curl https://git.sr.ht/~blainsmith/pprof.sh/blob/main/pprof.sh > pprof.sh
> chmod +x pprof.sh

#Usage

Run ./pprof.sh without arguments for usage.

#References