go-size-analyzer
The Go ecosystem is really good at tooling. I just learned about this tool for analyzing the size of Go binaries using a pleasing treemap view of their bundled dependencies.
You can install and run the tool locally, but it’s also compiled to WebAssembly and hosted at gsa.zxilly.dev – which means you can open compiled Go binaries and analyze them directly in your browser.
I tried it with a 8.1MB macOS compiled copy of my Go Showboat tool and got this:

Via Datadog: How we reduced the size of our Agent Go binaries by up to 77%
Tags: go, webassembly, showboat
Like
0
Liked
Liked