Total size in compare dont show correctly !
citrix123 opened this issue · comments
RahulAN commented
$ bloaty a.so_fix -- a.so
FILE SIZE VM SIZE
-------------- --------------
+219% +3.61Ki [ = ] 0 [Unmapped]
-0.7% -24 -0.7% -24 [3 Others]
+91% -32 +91% -32 .plt.got
+93% -48 +93% -48 .gnu.version_r
+95% -56 +95% -56 .gnu.version
+100% -60 +100% -60 .gcc_except_table
+94% -232 +94% -232 .got.plt
+84% -288 +84% -288 .got
+94% -464 +94% -464 .plt
+94% -464 +94% -464 .plt.sec
+97% -504 +97% -504 .dynstr
+94% -696 +94% -696 .rela.plt
+95% -720 +95% -720 .dynsym
[ = ] 0 +99% -10.6Ki .bss
+94% -13.9Ki +94% -13.9Ki .data
+100% -62.5Ki +100% -62.5Ki .data.rel.ro
+79% -156Ki +79% -156Ki .eh_frame_hdr
+99% -173Ki +99% -173Ki .rela.dyn
+99% -479Ki +99% -479Ki .rodata
+80% -1011Ki +80% -1011Ki .eh_frame
+82% -10.8Mi +82% -10.8Mi .text
+90% +117Mi +90% +118Mi TOTAL
Why do we see + with percentage section and +90% +117Mi +90% +118Mi TOTAL
Ideally fix should show all on negatives. Please correct me if i am understanding it wrongly :)