google / bloaty

Bloaty: a size profiler for binaries
Apache License 2.0
4.71k stars 340 forks source link

Preserve Size Information During Diff #313

Closed brandonvu12 closed 2 years ago

brandonvu12 commented 2 years ago

The changes enable the CSV output to provide the old and new vm/file size during diff mode. The act of subtracting the two binaries was moved to a later stage.

brandonvu12 commented 2 years ago

I made the following changes of removing the new size structs and instead calculated it during the print out function by adding the size diff to the old size.

brandonvu12 commented 2 years ago

Implemented flag to only show new/old sizes in CSV output during diff.