Here's a treemap of Chromium's main binary on OS X.
It's build using webtreemap and my OS X port
of bloat. The json file was
created like so:
time GYP_DEFINES='logging_like_official_build=1
mac_write_linker_maps=1
fastbuild=1
mac_strip_release=1' \
build/gyp_chromium -Goutput_dir=out_static
time caffeinate ninja -C out_static/Release/ chrome
# Takes 40 minutes or so.
time ./bloat.py syms --map-output ~/chrome/src/out_static/Release/chrome_main_dll.map \
> bloat-chrome.json
# Takes about 20 min (could be much faster if implemented smarter)
# Replace 'http-equiv' in json file with something else
It's 90MB of json, so it takes a while to load – be patient. And once it's loaded interacting with it is very janky too.
Once loaded, click on a box to zoom in. Click on the outermost box to zoom out.
