Super Size is located in the
directory in the chromium repository.
To generate a data file, use the
tools/binary_size/supersize html_report chrome.size --report-dir size-report # Places the data file inside the ./size-report directory, # generated based on ./chrome.size
Containers (folders, files, and components) have different colors depending on the symbols they contain. The color corresponds whatever symbol type has the most bytes in that container. The color is the same as that symbol type’s icon.
When hovering over the container, you can see a breakdown of all the symbol types inside. The first row of that table indicates the symbol type with the most bytes.
When hovering over a container, a card appears breaking down the symbols stored within that container. The data appears as a pie chart and a table with the columns “Type”, “Count”, “Total size”, and “Percent”.
Once the symbol tree is focused on, various keyboard shortcuts are supported to navigate around the tree.
The symbol tree can be focused by clicking on it or by pressing Tab until the tree is focused.
|Enter or Space||Open or close a container, just like clicking on it|
|↓||Focus the node below the current node|
|↑||Focus the node above the current node|
|→||Move focus to the first child node, or open the current node if closed|
|←||Move focus to the parent node, or close the current node if open|
|Home||Move focus to the topmost node|
|End||Move focus to the bottommost node|
|A-z||Focus the next node that starts with the given character|
|*||Expand all sibling containers of the current node.|
The symbol type “Other entries” refers to symbols that don’t fall in one of the
defined symbol categories. This includes images and
To reduce the size of the generated data file, small symbols are omitted by default. Small symbols of the same type are combined into an “Other small [type]” bucket.
More symbols can be displayed by setting the
when generating the data file. However, the data file will be larger and will
take longer to load.
The contain and exclude regular expressions are evaluated against the full path
of each symbol. Symbol names are appended onto the end of a path and prefixed
path/to/file:symbol). The full path is displayed below the byte
size on the info card, and also appears when hovering over a symbol’s name.
The “Symbols must contain” filter is applied before the “Symbols must exclude” filter.
|Example filter||Regular expression|
|Find symbols in
|Find folders named