google / google/bloaty

Support for reporting waste via duplication

Open
#404 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
5.5k
Forks
378
Avg merge
23h 54m
Merged PRs (30d)
6

Description

Does bloaty have any support for reporting waste via duplication?

I'm thinking of cases when bloaty takes in something like an .a or a list of .o, and then reports symbols (for example) which have the most waste, defined as `(N - 1) * size` for a symbol that occurs N times. I.e., you only need one copy of a given symbol, the rest are waste (this usually happens for things defined in header and instantiated in many TUs).

Open to ideas on post-processing bloaty's output to get this info too.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.