Go Size Analyzer
A tool for analyzing the size of compiled Go binaries, offering cross-platform support, detailed breakdowns, and multiple output formats.
- Cross-platform support for analyzing ELF, Mach-O, PE and WebAssembly (experimental) binary formats
- Detailed size breakdown by packages and sections
- Support multiple output formats: text, json, html, svg
- Interactive exploration via web interface and terminal UI
- Binary comparison with diff mode (supports json and text output)
Installation Instructions
Linux
Linux
Download Go Size Analyzer
{
"url": "{{ .SVar `.tool.go_size_analyzer.download.url` }}",
"destination_folder": "{{ .PDownloads }}",
"output_filename": "{{ .SVar `.tool.go_size_analyzer.download.filename` }}",
"overwrite": false
} Extract Go Size Analyzer Release
{
"destination": "{{ .PTools }}/go_size_analyzer/{{ .SVar `.tool.go_size_analyzer.download.version` }}",
"skip_symlinks": true,
"preserve_permissions": true,
"remove_existing": true,
"source": "{{ .PDownloads }}/{{ .SVar `.tool.go_size_analyzer.download.filename` }}"
}
MacOS
MacOS
Download Go Size Analyzer
{
"url": "{{ .SVar `.tool.go_size_analyzer.download.url` }}",
"destination_folder": "{{ .PDownloads }}",
"output_filename": "{{ .SVar `.tool.go_size_analyzer.download.filename` }}",
"overwrite": false
} Extract Go Size Analyzer Release
{
"destination": "{{ .PTools }}/go_size_analyzer/{{ .SVar `.tool.go_size_analyzer.download.version` }}",
"skip_symlinks": true,
"preserve_permissions": true,
"remove_existing": true,
"source": "{{ .PDownloads }}/{{ .SVar `.tool.go_size_analyzer.download.filename` }}"
} Binaries
- gsa