Visualize binary size data by SymbolSort with webtreemap.
Inspired by https://github.com/evmar/bloat (for Linux and Mac).
-
Build your binary with
/Ziget.pdbdebug symbol file. -
Download SymbolSort and run
SymbolSort -in input.pdb -out out.txt. -
Set up Visual C++ build environment with
vcvarsall.batand builddump.cppwithcl /O2 dump.cpp /link /out:dump.exe. -
Run
dump -in out.txt -out dump.json. -
Open
index.htmlfor visualization.
https://rongjiecomputer.github.io/bloat-win/v8
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!