google / bloaty

Bloaty: a size profiler for binaries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to find out or debug what causes large file size?

dwirandytlvk opened this issue · comments

Hi,
I have try the bloaty tools to analysis my binary application inside IPA file to know more about what cause IPA size increased, after i use this tools and i found that 1 file that has file size more than 12 MB

bloaty output
97.5% 12.4Mi 97.5% 12.4Mi KYCViewController.m

My question is how to know detail why this file has very large size?

If the tool would provide a list of the symbols associated with the compilation unit, then you could observe the size of each symbol in the file to get more details. I think this is what is mentioned in #150

EDIT: seems this is already possible by using -d compileunits,sections,symbols 🎉