This change applies the fix from 0e892b5 to output a row indicating
identical binaries in the case where some segments exist but have no
delta between them.
Bug: 35
Change-Id: I4fdb6ff3de906b648ce75da6f7724d7babef6ac0
Prints "(all)" as the segment and "(same)" for before/after when bloat
binaries have identical segments. Previously, nothing was printed.
Example output:
┌────────────┬───────────┬────────┬───────┬────────┐
│ Label │ Segment │ Before │ Delta │ After │
├════════════┼═══════════┼════════┼═══════┼════════┤
│ Identical! │ (all) │ (same) │ 0 │ (same) │
└────────────┴───────────┴────────┴───────┴────────┘
Change-Id: Ib02f0db55a6c8fbba053444b3a33408805e8e0aa
This change adds a size reporting module named pw_bloat. The module
uses Bloaty McBloatface to generate size report cards for binaries. It
provides a GN template which defines an action to perform a size diff
on a group of binary targets.
Example output:
simple_bloat
────────────
┌────────────────┬──────────────┬────────┬───────┬───────┐
│ Label │ Segment │ Before │ Delta │ After │
├════════════════┼══════════════┼════════┼═══════┼═══════┤
│ Add a loop │ EXAMPLE CODE │ 429 │ +32 │ 461 │
│ │ EXAMPLE RAM │ 576 │ +8 │ 584 │
├────────────────┼──────────────┼────────┼───────┼───────┤
│ Add a function │ EXAMPLE CODE │ 429 │ +16 │ 445 │
│ │ EXAMPLE RAM │ 576 │ +8 │ 584 │
└────────────────┴──────────────┴────────┴───────┴───────┘
Change-Id: I14b3d383ec450bc6d017bf5d0111e266b0a3c368