go-size-analyzer

go-size-analyzer (https://github.com/Zxilly/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

go-size-analyzer (https://github.com/Zxilly/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 (https://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 (https://github.com/simonw/showboat) tool and got this:

Tags: go (https://simonwillison.net/tags/go), webassembly (https://simonwillison.net/tags/webassembly), showboat (https://simonwillison.net/tags/showboat)
Write a comment
No comments yet.