rongjiecomputer / bloat-win

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bloat for Windows

Visualize binary size data by SymbolSort with webtreemap.

Inspired by https://github.com/evmar/bloat (for Linux and Mac).

Getting started

  1. Build your binary with /Zi get .pdb debug symbol file.

  2. Download SymbolSort and run SymbolSort -in input.pdb -out out.txt.

  3. Set up Visual C++ build environment with vcvarsall.bat and build dump.cpp with cl /O2 dump.cpp /link /out:dump.exe.

  4. Run dump -in out.txt -out dump.json.

  5. Open index.html for visualization.

Demo

https://rongjiecomputer.github.io/bloat-win/v8

Tips

If you want to share the generated JSON on Internet, it is good to minify it with http://closure-compiler.appspot.com/home

Warning: do not use "Advanced" optimization mode!

Similar project you might be interested

About

License:MIT License


Languages

Language:JavaScript 50.8%Language:C++ 30.5%Language:HTML 18.8%