💻 Tech
If you already have a memory or CPU profile file, you can use pprof to view the data interactively like viewing graph, tabular data, and the related source code. The command below will open a URL using the profile from mem.prof:
go tool pprof -http=:8081 mem.prof