| OLD | NEW |
| 1 # Tools for analyzing Chrome's binary size | 1 # Tools for analyzing Chrome's binary size |
| 2 | 2 |
| 3 # Super Size | 3 # Super Size |
| 4 | 4 |
| 5 Collect, archive, and analyze Chrome's binary size. | 5 Collect, archive, and analyze Chrome's binary size. |
| 6 | 6 |
| 7 ## "archive" | 7 ## "archive" |
| 8 | 8 |
| 9 Collect size information and dump it into a `.size` file. Mainly consists of | 9 Collect size information and dump it into a `.size` file. Mainly consists of |
| 10 symbol information parsed from a linker .map file. | 10 symbol information parsed from a linker .map file. |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 # Enters a Python REPL (it will print more guidance). | 42 # Enters a Python REPL (it will print more guidance). |
| 43 tools/binary_size/supersize console chrome.size | 43 tools/binary_size/supersize console chrome.size |
| 44 | 44 |
| 45 ## diagnose_apk_bloat.py | 45 ## diagnose_apk_bloat.py |
| 46 | 46 |
| 47 Determine the cause of binary size bloat for a patch. | 47 Determine the cause of binary size bloat for a patch. |
| 48 | 48 |
| 49 ### Example Usage: | 49 ### Example Usage: |
| 50 | 50 |
| 51 # Sync, build, and store MonochromePublic.apk for HEAD and HEAD^. | 51 # Sync, build, and diff for HEAD and HEAD^. |
| 52 tools/binary_size/diagnose_apk_bloat.py -v | 52 tools/binary_size/diagnose_apk_bloat.py |
| 53 | 53 |
| 54 # Display detailed usage info (there are many options). | 54 # Display detailed usage info (there are many options). |
| 55 tools/binary_size/diagnose_apk_bloat.py -h | 55 tools/binary_size/diagnose_apk_bloat.py -h |
| 56 | 56 |
| 57 # Roadmap for Super Size: | 57 # Roadmap for Super Size: |
| 58 | 58 |
| 59 Tracked in https://crbug.com/681694 | 59 Tracked in https://crbug.com/681694 |
| 60 | 60 |
| 61 1. More `archive` features: | 61 1. More `archive` features: |
| 62 | 62 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 83 1. Integrate with `resource_sizes.py` so that it tracks size of major | 83 1. Integrate with `resource_sizes.py` so that it tracks size of major |
| 84 components separately: chrome vs blink vs skia vs v8. | 84 components separately: chrome vs blink vs skia vs v8. |
| 85 1. Speed up some steps (like normalizing names) via multiprocessing. | 85 1. Speed up some steps (like normalizing names) via multiprocessing. |
| 86 1. Add dependency graph info, perhaps just on a per-file basis. | 86 1. Add dependency graph info, perhaps just on a per-file basis. |
| 87 | 87 |
| 88 # Roadmap for diagnose_apk_bloat.py: | 88 # Roadmap for diagnose_apk_bloat.py: |
| 89 1. More `diagnose_apk_bloat.py` features: | 89 1. More `diagnose_apk_bloat.py` features: |
| 90 | 90 |
| 91 * Add diffing functionality to see diff stats for two commits. | 91 * Add diffing functionality to see diff stats for two commits. |
| 92 * Add --cloud option for using artifacts from perf builders. | 92 * Add --cloud option for using artifacts from perf builders. |
| OLD | NEW |