▲ | Show HN: Go Allocations Explorer for VS Code(marketplace.visualstudio.com) | |
4 points by mwsherman 7 hours ago | ||
I’ve learned that my intuitions about where an allocation is coming from aren’t always correct. One tracks it down by creating a -memprofile then go tool pprof, and then some searching. It’s all fine, but tedious. So, I’ve put that process into a VS Code sidebar, where one simply clicks a benchmark and gets a list of allocations, with a link to the source line. Hope you’ll try it and give feedback. Marketplace link is above, you can also search for it in your Extensions sidebar, and the source is here: https://github.com/clipperhouse/go-allocations-vsix |