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

Unified Diff: tools/binary_size/libsupersize/describe.py

Issue 2856203004: supersize: Fix name normalization of top-level lambdas (Closed)
Patch Set: rebase 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/function_signature.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/binary_size/libsupersize/describe.py
diff --git a/tools/binary_size/libsupersize/describe.py b/tools/binary_size/libsupersize/describe.py
index 38d99a53919a6210e2ce1887946b109403772f81..876f1e15f04dc83309dadef77af03bf91532dc15 100644
--- a/tools/binary_size/libsupersize/describe.py
+++ b/tools/binary_size/libsupersize/describe.py
@@ -126,8 +126,8 @@ class Describer(object):
ro_size = code_syms.Inverted().WhereInSection('r').pss
unique_paths = set(s.object_path for s in group)
header_desc = [
- 'Showing {:,} symbols with total pss: {} bytes'.format(
- len(group), int(total_size)),
+ 'Showing {:,} symbols ({:,} unique) with total pss: {} bytes'.format(
+ len(group), group.CountUniqueSymbols(), int(total_size)),
'.text={:<10} .rodata={:<10} other={:<10} total={}'.format(
_PrettySize(int(code_size)), _PrettySize(int(ro_size)),
_PrettySize(int(total_size - code_size - ro_size)),
« no previous file with comments | « no previous file | tools/binary_size/libsupersize/function_signature.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698