Bloaty
Bloaty: a size profiler for binaries
...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. It also supports data sources such as symbol tables and map files, combining them into coherent, readable breakdowns. Teams use Bloaty to drive systematic size-reduction efforts in embedded, desktop, and mobile software where startup time, memory footprint, or download size matter.