| OLD | NEW |
| 1 ******************************************************************************** | 1 ******************************************************************************** |
| 2 Entering interactive Python shell. Quick reference: | 2 Entering interactive Python shell. Quick reference: |
| 3 | 3 |
| 4 SizeInfo: Cluster, metadata, section_sizes, symbols | 4 SizeInfo: Cluster, metadata, section_sizes, symbols |
| 5 Symbol: FlagsString, IsBss, IsGeneratedByToolchain, IsGroup, address, aliases, e
nd_address, flags, full_name, generated_source, is_anonymous, name, num_aliases,
object_path, padding, pss, pss_without_padding, section, section_name, size, si
ze_without_padding, source_path | 5 Symbol: FlagsString, IsBss, IsGeneratedByToolchain, IsGroup, address, aliases, e
nd_address, flags, full_name, generated_source, is_anonymous, name, num_aliases,
object_path, padding, pss, pss_without_padding, section, section_name, size, si
ze_without_padding, source_path |
| 6 | 6 |
| 7 SymbolGroup (extends Symbol): Cluster, CountUniqueSymbols, Filter, GroupBy, Grou
pByNamespace, GroupByPath, GroupBySectionName, Inverted, IterLeafSymbols, IterUn
iqueSymbols, Sorted, SortedByAddress, SortedByCount, SortedByName, WhereAddressI
nRange, WhereBiggerThan, WhereFullNameMatches, WhereGeneratedByToolchain, WhereH
asAnyAttribution, WhereHasPath, WhereInSection, WhereMatches, WhereNameMatches,
WhereObjectPathMatches, WherePathMatches, WhereSourceIsGenerated, WhereSourcePat
hMatches, is_sorted | 7 SymbolGroup (extends Symbol): Cluster, CountUniqueSymbols, Filter, GroupBy, Grou
pByNamespace, GroupByPath, GroupBySectionName, Inverted, IterLeafSymbols, IterUn
iqueSymbols, Sorted, SortedByAddress, SortedByCount, SortedByName, WhereAddressI
nRange, WhereBiggerThan, WhereFullNameMatches, WhereGeneratedByToolchain, WhereH
asAnyAttribution, WhereHasPath, WhereInSection, WhereMatches, WhereNameMatches,
WhereObjectPathMatches, WherePathMatches, WhereSourceIsGenerated, WhereSourcePat
hMatches, is_sorted |
| 8 | 8 |
| 9 SymbolDiff (extends SymbolGroup): IsAdded, IsRemoved, IsSimilar, WhereNotUnchang
ed, added_count, changed_count, removed_count, unchanged_count | 9 SymbolDiff (extends SymbolGroup): IsAdded, IsRemoved, IsSimilar, WhereNotUnchang
ed, added_count, changed_count, removed_count, unchanged_count |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 Print(Diff(size_info1, size_info2), to_file="output.txt") | 40 Print(Diff(size_info1, size_info2), to_file="output.txt") |
| 41 | 41 |
| 42 # View per-component breakdowns, then drill into the last entry. | 42 # View per-component breakdowns, then drill into the last entry. |
| 43 c = canned_queries.CategorizeByChromeComponent() | 43 c = canned_queries.CategorizeByChromeComponent() |
| 44 Print(c) | 44 Print(c) |
| 45 Print(c[-1].GroupByPath(depth=2).Sorted()) | 45 Print(c[-1].GroupByPath(depth=2).Sorted()) |
| 46 | 46 |
| 47 # For even more inspiration, look at canned_queries.py | 47 # For even more inspiration, look at canned_queries.py |
| 48 # (and feel free to add your own!). | 48 # (and feel free to add your own!). |
| 49 Metadata: | 49 Metadata: |
| 50 elf_arch=ARM | 50 elf_arch=arm |
| 51 elf_build_id=WhatAnAmazingBuildId | 51 elf_build_id=WhatAnAmazingBuildId |
| 52 elf_file_name=elf | 52 elf_file_name=elf |
| 53 elf_mtime={redacted} | 53 elf_mtime={redacted} |
| 54 git_revision=abc123 | 54 git_revision=abc123 |
| 55 gn_args=var1=true var2="foo" | 55 gn_args=var1=true var2="foo" |
| 56 map_file_name=../test.map | 56 map_file_name=../test.map |
| 57 | 57 |
| 58 Section Sizes (Total=43,785,380 bytes): | 58 Section Sizes (Total=43,785,380 bytes): |
| 59 .bss: 1,300,456 bytes (not included in totals) | 59 .bss: 1,300,456 bytes (not included in totals) |
| 60 .data: 101,768 bytes (0.2%) | 60 .data: 101,768 bytes (0.2%) |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 43) 43785380 (98.8%) b@0x0 131072 third_party/fft_fixed.cc | 157 43) 43785380 (98.8%) b@0x0 131072 third_party/fft_fixed.cc |
| 158 ff_cos_131072_fixed | 158 ff_cos_131072_fixed |
| 159 44) 43785380 (98.8%) b@0x0 131072 third_party/fft_float.cc | 159 44) 43785380 (98.8%) b@0x0 131072 third_party/fft_float.cc |
| 160 ff_cos_65536 | 160 ff_cos_65536 |
| 161 45) 43785380 (98.8%) b@0x2dffda0 28 third_party/icu/ucnv_ext.c | 161 45) 43785380 (98.8%) b@0x2dffda0 28 third_party/icu/ucnv_ext.c |
| 162 g_chrome_content_browser_client | 162 g_chrome_content_browser_client |
| 163 46) 43785380 (98.8%) b@0x2dffe80 200 third_party/icu/ucnv_ext.c | 163 46) 43785380 (98.8%) b@0x2dffe80 200 third_party/icu/ucnv_ext.c |
| 164 SaveHistogram::atomic_histogram_pointer | 164 SaveHistogram::atomic_histogram_pointer |
| 165 47) 43785380 (98.8%) b@0x2dffe84 4 third_party/icu/ucnv_ext.c | 165 47) 43785380 (98.8%) b@0x2dffe84 4 third_party/icu/ucnv_ext.c |
| 166 g_AnimationFrameTimeHistogram_clazz | 166 g_AnimationFrameTimeHistogram_clazz |
| OLD | NEW |