The Awesome Code Blog
  • Home
  • Publications
  • Ionic
  • Author
  • YouTube Downloader
  • Ionic Live Deployment
Subscribe

go routines

A collection of 1 post
How to profile a Go application with pprof
golang

How to profile a Go application with pprof

Step 1 Install dependencies: apt-get install graphviz gv or brew install graphviz Step 2 Download pprof to your application go get -u github.com/google/pprof Step 3 Import pprof to your application import _ "net/http/pprof" Step 4 Add pprof server to application e.g. main.go package main
Sep 29, 2022 1 min read
The Awesome Code Blog © 2023
Powered by Ghost
AGB & Datenschutz Impressum