Skip to content

Show HN: Go Allocations Explorer for VS Code

marketplace.visualstudio.com
4 pointsmwshermandiscuss
On HN

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

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.