Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TOTAL row and % column output in diff mode #363

Merged
merged 1 commit into from
Oct 2, 2023

Commits on Sep 26, 2023

  1. Fix TOTAL row and % column output in diff mode

    Fixes google#361 and google#335.
    
    Before:
        FILE SIZE        VM SIZE
     --------------  --------------
      +203% +1.46Ki  [ = ]       0    [Unmapped]
      +100%     +48  +100%     +48    .rodata
      +100%      -8  +100%      -8    .ARM.exidx
       +50%      -8   +50%      -8    .fini
      +100%     -12  +100%     -12    .ARM.extab
       +99% -5.48Ki   +99% -5.48Ki    .text
      +100% +1.72Mi  +100% +1.72Mi    TOTAL
    
    After:
        FILE SIZE        VM SIZE
     --------------  --------------
      +103% +1.46Ki  [ = ]       0    [Unmapped]
      +0.0%     +48  +0.0%     +48    .rodata
      -0.0%      -8  -0.0%      -8    .ARM.exidx
     -50.0%      -8 -50.0%      -8    .fini
      -0.0%     -12  -0.0%     -12    .ARM.extab
      -0.5% -5.48Ki  -0.5% -5.48Ki    .text
      -0.2% -4.00Ki  -0.3% -5.46Ki    TOTAL
    pepsiman authored and Malcolm Parsons committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    f367183 View commit details
    Browse the repository at this point in the history