bloaty

Size profiler for binaries to analyze what consumes disk space

brewmacoslinux
Try with needOr install directly
Source

About

Size profiler for binaries

Commands

bloaty

Examples

Analyze total size breakdown of a binary by source file$ bloaty /path/to/binary
Compare size differences between two binary versions$ bloaty /path/to/binary1 -- /path/to/binary2
Generate detailed size report in CSV format$ bloaty -d sections,symbols /path/to/binary -c csv