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

Unified Diff: tools/binary_size/README.md

Issue 2817813003: supersize: Add "diff" command (Closed)
Patch Set: review commetns 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/binary_size/libsupersize/archive.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/binary_size/README.md
diff --git a/tools/binary_size/README.md b/tools/binary_size/README.md
index b5e3bd3b9c67c59de4582b32eeae6bdc412b20cc..4787956aa27caed0bb7a79c2363888e90ad6e2f2 100644
--- a/tools/binary_size/README.md
+++ b/tools/binary_size/README.md
@@ -33,7 +33,7 @@ symbol information parsed from a linker .map file.
Creates an interactive size breakdown (by source path) as a stand-alone html
report.
-## Example Usage:
+### Example Usage:
tools/binary_size/supersize html_report chrome.size --report-dir size-report -v
xdg-open size-report/index.html
@@ -42,20 +42,28 @@ report.
Starts a Python interpreter where you can run custom queries.
-## Example Usage:
+### Example Usage:
- # Runs a single diff and exits (does not enter interactive mode).
- tools/binary_size/supersize console without_patch.size with_patch.size --query='Diff(size_info2, size_info1)'
+ # Prints size infomation and exits (does not enter interactive mode).
+ tools/binary_size/supersize console chrome.size --query='Print(size_info)'
# Enters a Python REPL (it will print more guidance).
tools/binary_size/supersize console chrome.size
-## diagnose_apk_bloat.py
+## "diff"
-Determine the cause of binary size bloat for a patch.
+A convenience command equivalent to: `console before.size after.size --query='Print(Diff(size_info1, size_info2))'`
### Example Usage:
+ tools/binary_size/supersize diff before.size after.size --all
+
+# diagnose_apk_bloat.py
+
+Determine the cause of binary size bloat for a patch.
+
+## Example Usage:
+
# Sync, build, and diff for HEAD and HEAD^.
tools/binary_size/diagnose_apk_bloat.py
« no previous file with comments | « no previous file | tools/binary_size/libsupersize/archive.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698