# Zxilly/go-size-analyzer

A tool for analyzing the size of compiled Go binaries, offering cross-platform support, detailed breakdowns, and multiple output formats.

Repository: https://github.com/Zxilly/go-size-analyzer
Canonical: https://ross.abutalabs.com/products/go-size-analyzer
Homepage: https://gsa.zxilly.dev/
Language: Go
License: AGPL-3.0
License Family: copyleft
Topics: binary, golang, symbol, visualization, analyzer, dependency, terminal-ui, treemap, go, react, typescript
Last push: 2026-08-24T01:00:03+00:00

## Health v2 (maintenance only)
Score: 97/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 98, longevity 91
- inputs: {"age_days": 1279, "days_push": 10, "days_rel": 12, "gap_med": 15, "n_releases_24m": 26}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2169, forks 45 (observed 2026-08-28T04:06:21.571086+00:00)

## What it is
A command-line tool that analyzes the size of compiled Go binaries, breaking down size by packages, sections, and dependencies. It supports ELF, Mach-O, PE, and experimental WebAssembly formats with text, JSON, HTML, and SVG output plus interactive web and terminal UIs.

## Use cases
- analyze why my go binary is so large
- break down go binary size by package
- visualize compiled binary size as a treemap
- compare binary sizes between two builds
- find which dependencies bloat my go executable
- generate  report of binary section sizes
- explore binary size interactively in terminal

## When to choose
- you need detailed size breakdowns of Go-compiled binaries across platforms
- you want interactive treemap exploration via web or TUI
- you need machine-readable output (JSON) for CI size tracking or diffing builds

## When to avoid
- analyzing binaries not written in Go
- you need profiling of runtime performance rather than static size
- analyzing very large binaries in the browser WASM version, which is ~10x slower

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, developer-tools, data-visualization, terminal-ui, analytics
- domain: developer-tools, performance, data-visualization
- platform: windows, cli, wasm, cross-platform
- tags: go-binary-analysis, binary-size, treemap, symbol-analysis, dependency-size, elf, mach-o, pe, command-line, linux, macos

## Member repositories
- Zxilly/go-size-analyzer (main) score 97

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:21.571086+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:49:21.668422+00:00, confidence not recorded.
  - readme: https://github.com/Zxilly/go-size-analyzer (fetched 2026-08-28T04:06:21.571086+00:00, sha 2329e26a40d3)
  - homepage: https://gsa.zxilly.dev/ (fetched 2026-08-29T10:29:27.237871+00:00, sha 345adc5a2389)
- Data as of 2026-08-30T08:39:29.467469+00:00.
