3 ms·
On this topic does anyone know of a good article that shows you you can profile your binary size? Say given binary X object Y takes up 60% and in object Y sour
by icefox 17y ago
On this topic does anyone know of a good article that shows you you can profile your binary size? Say given binary X object Y takes up 60% and in object Y source file Z takes up the most. Or a list of common coding practices in [language] that cause the binary size to significantly increase?
- jacquesm 17y agotry the 'nm' program on your binaries.
- malkia 17y agoor better use the 'size' program to give how much each .o/.obj file takes. You can also use 'strip' to remove debug information not needed (normally appended to the end of the file).
- icefox 17y agoA blog on using pahole to find holes/padding the compiler adds to your structs http://zecke.blogspot.com/2009/10/what-is-size-of-qlistdata-renderobject.html http://zecke.blogspot.com/2009/10/what-is-size-of-qlistdata-...