evmar/bloat

analyze code size via nm/objdump output

Python

86

10 commits

updated Apr 30, 2015

See the code

README

bloat

Generate webtreemap-compatible JSON summaries of binary size.

Setup

  1. Check out a copy of webtreemap in a webtreemap subdirectory:

     git clone git://github.com/martine/webtreemap.git
    
  2. Build your binary with the -g flag to get symbols.

  3. Run ./bloat.py --help and generate nm.out as instructed there.

  4. Example command line:

     ./bloat.py --strip-prefix=/path/to/src syms > bloat.json
    

Misc other feature

Dump large symbols:

$ ./bloat.py dump | head -20

Contributors

evmar

5 commits

jfbastien

3 commits

avar

1 commits

maxinbjohn

1 commits

evmar/bloat

analyze code size via nm/objdump output

Python

86

10 commits

updated Apr 30, 2015

See the code

README

bloat

Generate webtreemap-compatible JSON summaries of binary size.

Setup

  1. Check out a copy of webtreemap in a webtreemap subdirectory:

     git clone git://github.com/martine/webtreemap.git
    
  2. Build your binary with the -g flag to get symbols.

  3. Run ./bloat.py --help and generate nm.out as instructed there.

  4. Example command line:

     ./bloat.py --strip-prefix=/path/to/src syms > bloat.json
    

Misc other feature

Dump large symbols:

$ ./bloat.py dump | head -20

Contributors

evmar

5 commits

jfbastien

3 commits

avar

1 commits

maxinbjohn

1 commits

Languages

Python

91.0%

HTML

9.0%