Bloaty
Bloaty: a size profiler for binaries
Bloaty is a deep, accurate size profiler for native binaries that tells you where every byte comes from so you can shrink executables and libraries intelligently. It parses binary formats like ELF, Mach-O, and DWARF symbol/debug data without relying solely on toolchain heuristics, letting you attribute size to files, sections, symbols, templates, and even compilation units. Reports can be produced at multiple granularities and diffed across builds to identify regressions introduced by compiler flags, dependencies, or new code paths. The tool is designed to be fast enough for iterative use in developer workflows and CI, making size budgets enforceable rather than aspirational. ...