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

Unified Diff: tools/binary_size/libsupersize/testdata/Console.golden

Issue 2870743003: supersize: Add symbol.template_name, and strip <>s from symbol.name (Closed)
Patch Set: review comments Created 3 years, 7 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
Index: tools/binary_size/libsupersize/testdata/Console.golden
diff --git a/tools/binary_size/libsupersize/testdata/Console.golden b/tools/binary_size/libsupersize/testdata/Console.golden
index 7bdbf399df25766e8bcec237d36d4b2b6c3e5a75..2089301d294d849522f4e94bfe5eeffc363a9c44 100644
--- a/tools/binary_size/libsupersize/testdata/Console.golden
+++ b/tools/binary_size/libsupersize/testdata/Console.golden
@@ -1,14 +1,14 @@
********************************************************************************
Entering interactive Python shell. Quick reference:
-SizeInfo: Cluster, metadata, section_sizes, symbols
-Symbol: FlagsString, IsBss, IsGeneratedByToolchain, IsGroup, address, aliases, end_address, flags, full_name, generated_source, is_anonymous, name, num_aliases, object_path, padding, pss, pss_without_padding, section, section_name, size, size_without_padding, source_path
+SizeInfo: Clustered, metadata, raw_symbols, section_sizes, symbols
+Symbol: FlagsString, IsBss, IsGeneratedByToolchain, IsGroup, address, aliases, end_address, flags, full_name, generated_source, is_anonymous, name, num_aliases, object_path, padding, pss, pss_without_padding, section, section_name, size, size_without_padding, source_path, template_name
-SymbolGroup (extends Symbol): Cluster, CountUniqueSymbols, Filter, GroupBy, GroupByNamespace, GroupByPath, GroupBySectionName, Inverted, IterLeafSymbols, IterUniqueSymbols, Sorted, SortedByAddress, SortedByCount, SortedByName, WhereAddressInRange, WhereBiggerThan, WhereFullNameMatches, WhereGeneratedByToolchain, WhereHasAnyAttribution, WhereHasPath, WhereInSection, WhereMatches, WhereNameMatches, WhereObjectPathMatches, WherePathMatches, WhereSourceIsGenerated, WhereSourcePathMatches, is_sorted
+SymbolGroup (extends Symbol): Clustered, CountUniqueSymbols, Filter, GroupedBy, GroupedByName, GroupedByPath, GroupedBySectionName, Inverted, IterLeafSymbols, IterUniqueSymbols, Sorted, SortedByAddress, SortedByCount, SortedByName, WhereAddressInRange, WhereBiggerThan, WhereFullNameMatches, WhereGeneratedByToolchain, WhereHasAnyAttribution, WhereHasPath, WhereInSection, WhereIsTemplate, WhereMatches, WhereNameMatches, WhereObjectPathMatches, WherePathMatches, WhereSourceIsGenerated, WhereSourcePathMatches, WhereTemplateNameMatches, is_sorted
SymbolDiff (extends SymbolGroup): IsAdded, IsRemoved, IsSimilar, WhereNotUnchanged, added_count, changed_count, removed_count, unchanged_count
-canned_queries: CategorizeByChromeComponent, CategorizeGenerated
+canned_queries: CategorizeByChromeComponent, CategorizeGenerated, TemplatesByName
Functions: Diff(), Disassemble(), ExpandRegex(), Print(), ShowExamples()
Variables: canned_queries, size_info
@@ -22,7 +22,7 @@ Print(size_info, verbose=True)
# Show two levels of .text, grouped by first two subdirectories
text_syms = size_info.symbols.WhereInSection("t")
-by_path = text_syms.GroupByPath(depth=2)
+by_path = text_syms.GroupedByPath(depth=2)
Print(by_path.WhereBiggerThan(1024))
# Show all non-vtable generated symbols
@@ -42,7 +42,7 @@ Print(Diff(size_info1, size_info2), to_file="output.txt")
# View per-component breakdowns, then drill into the last entry.
c = canned_queries.CategorizeByChromeComponent()
Print(c)
-Print(c[-1].GroupByPath(depth=2).Sorted())
+Print(c[-1].GroupedByPath(depth=2).Clustered().Sorted())
# For even more inspiration, look at canned_queries.py
# (and feel free to add your own!).

Powered by Google App Engine
This is Rietveld 408576698