Comment

Comment by Beltalowda

Cheers; I've always difficulty mapping those pprof graphs to actual concrete code and I never managed to get anything more useful out of it.

This is the biggest take-away from this post to be honest; had no idea it could do anything like that. Sometimes it's the little things...

You can get something similar with the CLI using:

  go tool pprof -weblist='mypkgname' cpu.out     # Generate HTML and open
  go tool pprof -list='mypkgname' cpu.out        # Generate text to stdout
parent Beltalowda 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton