Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: tools/binary_size/README.md

Issue 2801663003: //tools/binary_size: Add Disassemble() to console.py. Tweak metadata. (Closed)
Patch Set: Review comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/binary_size/console.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # map2size.py 1 # map2size.py
2 2
3 Parses a linker .map(.gz) file and outputs the result as a .size(.gz) file. 3 Parses a linker .map file and outputs the result as a .size file.
4 4
5 ## Example Usage: 5 ## Example Usage:
6 6
7 # Android: 7 # Android:
8 gn gen out/Release --args='target_os="android" is_official_build=true' 8 gn gen out/Release --args='target_os="android" is_official_build=true'
9 ninja -C out/Release -j 1000 libchrome.so 9 ninja -C out/Release -j 1000 libchrome.so
10 tools/binary_size/map2size.py out/Release/lib.unstripped/libchrome.so.map.gz chrome.size -v 10 tools/binary_size/map2size.py out/Release/lib.unstripped/libchrome.so chrome .size -v
11 # Linux: 11 # Linux:
12 gn gen out/Release --args='is_official_build=true' 12 gn gen out/Release --args='is_official_build=true'
13 ninja -C out/Release -j 1000 chrome 13 ninja -C out/Release -j 1000 chrome
14 tools/binary_size/map2size.py out/Release/chrome.map.gz chrome.size -v 14 tools/binary_size/map2size.py out/Release/chrome chrome.size -v
15 15
16 # create_html_breakdown.py 16 # create_html_breakdown.py
17 17
18 Creates an interactive size breakdown as a stand-alone html report. 18 Creates an interactive size breakdown as a stand-alone html report.
19 19
20 ## Example Usage: 20 ## Example Usage:
21 21
22 tools/binary_size/create_html_breakdown.py chrome.size --report-dir size-rep ort -v 22 tools/binary_size/create_html_breakdown.py chrome.size --report-dir size-rep ort -v
23 xdg-open size-report/index.html 23 xdg-open size-report/index.html
24 24
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 gaps exist after them. 64 gaps exist after them.
65 * Use nm to get the full list of symbols that share the same address. 65 * Use nm to get the full list of symbols that share the same address.
66 1. More diagnose_apk_bloat.py features: 66 1. More diagnose_apk_bloat.py features:
67 * Add diffing functionality to see diff stats for two commits. 67 * Add diffing functionality to see diff stats for two commits.
68 * Add --cloud option for using artifacts from perf builders. 68 * Add --cloud option for using artifacts from perf builders.
69 1. Integrate with `resource_sizes.py` so that it tracks size of major 69 1. Integrate with `resource_sizes.py` so that it tracks size of major
70 components separately: chrome vs blink vs skia vs v8. 70 components separately: chrome vs blink vs skia vs v8.
71 1. Speed up some steps (like normalizing names) via multiprocessing. 71 1. Speed up some steps (like normalizing names) via multiprocessing.
72 1. Use resource whitelist information to attribute .pak file size to .o files. 72 1. Use resource whitelist information to attribute .pak file size to .o files.
73 1. Add dependency graph info, perhaps just on a per-file basis. 73 1. Add dependency graph info, perhaps just on a per-file basis.
OLDNEW
« no previous file with comments | « no previous file | tools/binary_size/console.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698