Skip to content

rongjiecomputer/bloat-win

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published