| OLD | NEW |
| 1 ******************************************************************************** | 1 ******************************************************************************** |
| 2 Entering interactive Python shell. Quick reference: | 2 Entering interactive Python shell. Quick reference: |
| 3 | 3 |
| 4 SizeInfo: metadata, raw_symbols, section_sizes, symbols | 4 SizeInfo: metadata, raw_symbols, section_sizes, size_path, 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, template_name | 5 Symbol: FlagsString, IsBss, IsDelta, IsGeneratedByToolchain, IsGroup, address, a
liases, end_address, flags, full_name, generated_source, is_anonymous, name, num
_aliases, object_path, padding, padding_pss, pss, pss_without_padding, section,
section_name, size, size_without_padding, source_path, template_name |
| 6 | 6 |
| 7 SymbolGroup (extends Symbol): CountUniqueSymbols, Filter, GroupedBy, GroupedByFu
llName, GroupedByName, GroupedByPath, GroupedBySectionName, Inverted, IterLeafSy
mbols, IterUniqueSymbols, SetName, Sorted, SortedByAddress, SortedByCount, Sorte
dByName, WhereAddressInRange, WhereFullNameMatches, WhereGeneratedByToolchain, W
hereHasAnyAttribution, WhereHasPath, WhereInSection, WhereIsGroup, WhereIsTempla
te, WhereMatches, WhereNameMatches, WhereObjectPathMatches, WherePathMatches, Wh
erePssBiggerThan, WhereSizeBiggerThan, WhereSourceIsGenerated, WhereSourcePathMa
tches, WhereTemplateNameMatches, is_sorted | 7 SymbolGroup (extends Symbol): CountUniqueSymbols, Filter, GroupedBy, GroupedByFu
llName, GroupedByName, GroupedByPath, GroupedBySectionName, Inverted, IterLeafSy
mbols, IterUniqueSymbols, SetName, Sorted, SortedByAddress, SortedByCount, Sorte
dByName, WhereAddressInRange, WhereFullNameMatches, WhereGeneratedByToolchain, W
hereHasAnyAttribution, WhereHasPath, WhereInSection, WhereIsGroup, WhereIsTempla
te, WhereMatches, WhereNameMatches, WhereObjectPathMatches, WherePathMatches, Wh
erePssBiggerThan, WhereSizeBiggerThan, WhereSourceIsGenerated, WhereSourcePathMa
tches, WhereTemplateNameMatches, index, is_sorted |
| 8 | 8 |
| 9 SymbolDiff (extends SymbolGroup): DiffStatus, IsAdded, IsChanged, IsRemoved, IsU
nchanged, WhereNotUnchanged, added_count, changed_count, removed_count, unchange
d_count | 9 DeltaSizeInfo: after_metadata, before_metadata, raw_symbols, section_sizes, symb
ols |
| 10 DeltaSymbol (extends Symbol): after_symbol, before_symbol, diff_status |
| 11 DeltaSymbolGroup (extends SymbolGroup): CountsByDiffStatus, WhereDiffStatusIs, d
iff_status |
| 10 | 12 |
| 11 canned_queries: CategorizeByChromeComponent, CategorizeGenerated, TemplatesByNam
e | 13 canned_queries: CategorizeByChromeComponent, CategorizeGenerated, TemplatesByNam
e |
| 12 | 14 |
| 13 Functions: Diff(), Disassemble(), ExpandRegex(), Print(), ShowExamples() | 15 Functions: Diff(), Disassemble(), ExpandRegex(), Print(), ShowExamples() |
| 14 Variables: canned_queries, printed, size_info | 16 Variables: |
| 17 printed: List of objects passed to Print(). |
| 18 size_info: Loaded from {redacted} |
| 15 ******************************************************************************** | 19 ******************************************************************************** |
| 16 # Show pydoc for main types: | 20 # Show pydoc for main types: |
| 17 import models | 21 import models |
| 18 help(models) | 22 help(models) |
| 19 | 23 |
| 20 # Show all attributes of all symbols & per-section totals: | 24 # Show all attributes of all symbols & per-section totals: |
| 21 Print(size_info, verbose=True) | 25 Print(size_info, verbose=True) |
| 22 | 26 |
| 23 # Show two levels of .text, grouped by first two subdirectories | 27 # Show two levels of .text, grouped by first two subdirectories |
| 24 text_syms = size_info.symbols.WhereInSection("t") | 28 text_syms = size_info.symbols.WhereInSection("t") |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 .rel.dyn: 2.53mb (2655384 bytes) (2.6%) | 67 .rel.dyn: 2.53mb (2655384 bytes) (2.6%) |
| 64 .rodata: 5.65mb (5927652 bytes) (5.9%) | 68 .rodata: 5.65mb (5927652 bytes) (5.9%) |
| 65 .strtab: 33.2mb (34841854 bytes) (34.8%) | 69 .strtab: 33.2mb (34841854 bytes) (34.8%) |
| 66 .symtab: 16.4mb (17166112 bytes) (17.1%) | 70 .symtab: 16.4mb (17166112 bytes) (17.1%) |
| 67 .text: 34.2mb (35900712 bytes) (35.8%) | 71 .text: 34.2mb (35900712 bytes) (35.8%) |
| 68 | 72 |
| 69 Showing 45 symbols (42 unique) with total pss: 43785380 bytes | 73 Showing 45 symbols (42 unique) with total pss: 43785380 bytes |
| 70 .text=34.2mb .rodata=5.65mb .data*=1.87mb .bss=512kb total=41.8
mb | 74 .text=34.2mb .rodata=5.65mb .data*=1.87mb .bss=512kb total=41.8
mb |
| 71 Number of unique paths: 9 | 75 Number of unique paths: 9 |
| 72 | 76 |
| 73 Index, Running Total, Section@Address, PSS | 77 Index | Running Total | Section@Address | PSS | Path |
| 74 ------------------------------------------------------------ | 78 ------------------------------------------------------------ |
| 75 0) 16 (0.0%) t@0x28d900 16 base/page_allocator.cc | 79 0) 16 (0.0%) t@0x28d900 16 base/page_allocator.cc |
| 76 _GLOBAL__sub_I_page_allocator.cc | 80 _GLOBAL__sub_I_page_allocator.cc |
| 77 1) 72 (0.0%) t@0x28d910 56 base/page_allocator.cc | 81 1) 72 (0.0%) t@0x28d910 56 base/page_allocator.cc |
| 78 _GLOBAL__sub_I_bbr_sender.cc | 82 _GLOBAL__sub_I_bbr_sender.cc |
| 79 2) 100 (0.0%) t@0x28d948 28 base/page_allocator.cc | 83 2) 100 (0.0%) t@0x28d948 28 base/page_allocator.cc |
| 80 _GLOBAL__sub_I_pacing_sender.cc | 84 _GLOBAL__sub_I_pacing_sender.cc |
| 81 3) 138 (0.0%) t@0x28d964 38 base/page_allocator.cc | 85 3) 138 (0.0%) t@0x28d964 38 base/page_allocator.cc |
| 82 extFromUUseMapping | 86 extFromUUseMapping |
| 83 4) 170 (0.0%) t@0x28d98a 32 base/page_allocator.cc | 87 4) 170 (0.0%) t@0x28d98a 32 base/page_allocator.cc |
| 84 extFromUUseMapping | 88 extFromUUseMapping |
| 85 5) 35830930 (81.8%) t@Group 35830760 {no path} | 89 5) 35830930 (81.8%) t@Group 35830760 {no path} |
| 86 ** symbol gaps (count=3) | 90 ** symbol gaps (count=3) |
| 87 6) 35831378 (81.8%) t@0x28f000 448 third_party/icu/ucnv_ext.c | 91 6) 35831378 (81.8%) t@0x28f000 448 third_party/icu/ucnv_ext.c |
| 88 ucnv_extMatchFromU | 92 ucnv_extMatchFromU |
| 89 7) 35831406 (81.8%) t@0x28f1c8 28 third_party/icu/ucnv_ext.c | 93 7) 35831406 (81.8%) t@0x28f1c8 28 third_party/icu/ucnv_ext.c |
| 90 _GLOBAL__sub_I_SkDeviceProfile.cpp | 94 _GLOBAL__sub_I_SkDeviceProfile.cpp |
| 91 8) 35900530 (82.0%) t@0x28f1e0 69124 third_party/icu/ucnv_ext.c | 95 8) 35900530 (82.0%) t@0x28f1e0 69124 third_party/icu/ucnv_ext.c |
| 92 foo_bar | 96 foo_bar |
| 93 9) 35900554 (82.0%) t@0x2a0000 24 {no path} | 97 9) 35900554 (82.0%) t@0x2a0000 24 (size=48) {no path} |
| 94 blink::ContiguousContainerBase::shrinkToFit | 98 blink::ContiguousContainerBase::shrinkToFit (num_aliases=2) |
| 95 10) 35900578 (82.0%) t@0x2a0000 24 third_party/icu/ucnv_ext.c | 99 10) 35900578 (82.0%) t@0x2a0000 24 (size=48) third_party/icu/ucnv_ext.c |
| 96 BazAlias | 100 BazAlias (num_aliases=2) |
| 97 11) 35900582 (82.0%) t@0x2a0010 4 third_party/{shared}/2 | 101 11) 35900582 (82.0%) t@0x2a0010 4 (size=12) third_party/{shared}/2 |
| 98 blink::ContiguousContainerBase::shrinkToFit | 102 blink::ContiguousContainerBase::shrinkToFit (num_aliases=3) |
| 99 12) 35900586 (82.0%) t@0x2a0010 4 third_party/fft_float.cc | 103 12) 35900586 (82.0%) t@0x2a0010 4 (size=12) third_party/fft_float.cc |
| 100 FooAlias | 104 FooAlias (num_aliases=3) |
| 101 13) 35900590 (82.0%) t@0x2a0010 4 third_party/fft_float.cc | 105 13) 35900590 (82.0%) t@0x2a0010 4 (size=12) third_party/fft_float.cc |
| 102 BarAlias | 106 BarAlias (num_aliases=3) |
| 103 14) 35900618 (82.0%) t@0x2a0020 28 third_party/container.c | 107 14) 35900618 (82.0%) t@0x2a0020 28 third_party/container.c |
| 104 blink::ContiguousContainerBase::ContiguousContainerBase | 108 blink::ContiguousContainerBase::ContiguousContainerBase |
| 105 15) 35900712 (82.0%) t@0x2a1000 94 third_party/container.c | 109 15) 35900712 (82.0%) t@0x2a1000 94 third_party/container.c |
| 106 blink::PaintChunker::releasePaintChunks | 110 blink::PaintChunker::releasePaintChunks |
| 107 16) 38538681 (88.0%) r@Group 2637969 {no path} | 111 16) 38538681 (88.0%) r@Group 2637969 {no path} |
| 108 ** merge strings (count=2) | 112 ** merge strings (count=2) |
| 109 17) 38542106 (88.0%) r@0x284d600 3425 {no path} | 113 17) 38542106 (88.0%) r@0x284d600 3425 {no path} |
| 110 ** merge constants | 114 ** merge constants |
| 111 18) 41828221 (95.5%) r@Group 3286115 {no path} | 115 18) 41828221 (95.5%) r@Group 3286115 {no path} |
| 112 ** symbol gaps (count=2) | 116 ** symbol gaps (count=2) |
| 113 19) 41828229 (95.5%) r@0x284e364 8 base/page_allocator.cc | 117 19) 41828229 (95.5%) r@0x284e364 8 base/page_allocator.cc |
| 114 20) 41828273 (95.5%) r@0x284e370 44 base/page_allocator.cc | 118 20) 41828273 (95.5%) r@0x284e370 44 base/page_allocator.cc |
| 115 Name | 119 Name |
| 116 21) 41828305 (95.5%) r@0x284e398 32 third_party/container.c | 120 21) 41828305 (95.5%) r@0x284e398 32 third_party/container.c |
| 117 chrome::mojom::FilePatcher::Name_ | 121 chrome::mojom::FilePatcher::Name_ |
| 118 22) 41828360 (95.5%) r@0x28f3450 55 third_party/paint.cc | 122 22) 41828360 (95.5%) r@0x28f3450 55 third_party/paint.cc |
| 119 kAnimationFrameTimeHistogramClassPath | 123 kAnimationFrameTimeHistogramClassPath |
| 120 23) 41828364 (95.5%) r@0x28f3480 4 third_party/paint.cc | 124 23) 41828364 (95.5%) r@0x28f3480 4 third_party/paint.cc |
| 121 blink::CSSValueKeywordsHash::findValueImpl::value_word_list | 125 blink::CSSValueKeywordsHash::findValueImpl::value_word_list |
| 122 24) 41828420 (95.5%) d@0x2c176f0 56 third_party/icu/ucnv_ext.c | 126 24) 41828420 (95.5%) d@0x2c176f0 56 third_party/icu/ucnv_ext.c |
| 123 ChromeMainDelegate [vtable] | 127 ChromeMainDelegate [vtable] |
| 124 25) 41828444 (95.5%) d@0x2c17728 24 third_party/icu/ucnv_ext.c | 128 25) 41828444 (95.5%) d@0x2c17728 24 third_party/icu/ucnv_ext.c |
| 125 chrome::mojom::FieldTrialRecorder [vtable] | 129 chrome::mojom::FieldTrialRecorder [vtable] |
| 126 26) 42618348 (97.3%) d@0x2c17740 789904 third_party/container.c | 130 26) 42618348 (97.3%) d@0x2c17740 789904 third_party/container.c |
| 127 chrome::mojom::FieldTrialRecorderProxy [vtable] | 131 chrome::mojom::FieldTrialRecorderProxy [vtable] |
| 128 27) 42618380 (97.3%) d@0x2cd84e0 32 third_party/gvr-android-sdk/libgvr_sh
im_static_arm.a/libcontroller_api_impl.a_controller_api_impl.o | 132 27) 42618380 (97.3%) d@0x2cd84e0 32 third_party/gvr-android-sdk/li
bgvr_shim_static_arm.a/libcontroller_api_impl.a_controller_api_impl.o |
| 129 .Lswitch.table.45 | 133 .Lswitch.table.45 |
| 130 28) 42618388 (97.3%) d@0x2cd84f0 8 third_party/gvr-android-sdk/libgvr_sh
im_static_arm.a/libport_android_jni.a_jni_utils.o | 134 28) 42618388 (97.3%) d@0x2cd84f0 8 third_party/gvr-android-sdk/li
bgvr_shim_static_arm.a/libport_android_jni.a_jni_utils.o |
| 131 kSystemClassPrefixes | 135 kSystemClassPrefixes |
| 132 29) 42618444 (97.3%) d@0x2cd8500 56 third_party/paint.cc | 136 29) 42618444 (97.3%) d@0x2cd8500 56 third_party/paint.cc |
| 133 ChromeMainDelegateAndroid [vtable] | 137 ChromeMainDelegateAndroid [vtable] |
| 134 30) 42618468 (97.3%) d@0x2cd8538 24 base/page_allocator.cc | 138 30) 42618468 (97.3%) d@0x2cd8538 24 base/page_allocator.cc |
| 135 mojo::MessageReceiver [vtable] | 139 mojo::MessageReceiver [vtable] |
| 136 31) 42618480 (97.3%) d@0x2cd8550 12 base/page_allocator.cc | 140 31) 42618480 (97.3%) d@0x2cd8550 12 base/page_allocator.cc |
| 137 kMethodsAnimationFrameTimeHistogram | 141 kMethodsAnimationFrameTimeHistogram |
| 138 32) 43683612 (99.8%) d@0x2ddc608 1065132 {no path} | 142 32) 43683612 (99.8%) d@0x2ddc608 1065132 {no path} |
| 139 ** symbol gap 0 (end of section) | 143 ** symbol gap 0 (end of section) |
| 140 33) 43683616 (99.8%) d@0x2de7000 4 base/page_allocator.cc | 144 33) 43683616 (99.8%) d@0x2de7000 4 base/page_allocator.cc |
| 141 google::protobuf::internal::pLinuxKernelCmpxchg | 145 google::protobuf::internal::pLinuxKernelCmpxchg |
| 142 34) 43683620 (99.8%) d@0x2de7004 4 third_party/container.c | 146 34) 43683620 (99.8%) d@0x2de7004 4 third_party/container.c |
| 143 google::protobuf::internal::pLinuxKernelMemoryBarrier | 147 google::protobuf::internal::pLinuxKernelMemoryBarrier |
| 144 35) 43683772 (99.8%) d@0x2de7008 152 third_party/container.c | 148 35) 43683772 (99.8%) d@0x2de7008 152 third_party/container.c |
| 145 base::android::kBaseRegisteredMethods | 149 base::android::kBaseRegisteredMethods |
| 146 36) 43683776 (99.8%) d@0x2de70a0 4 third_party/container.c | 150 36) 43683776 (99.8%) d@0x2de70a0 4 third_party/container.c |
| 147 base::android::g_renderer_histogram_code | 151 base::android::g_renderer_histogram_code |
| 148 37) 43683780 (99.8%) d@0x2de70a4 4 third_party/container.c | 152 37) 43683780 (99.8%) d@0x2de70a4 4 third_party/container.c |
| 149 base::android::g_library_version_number | 153 base::android::g_library_version_number |
| 150 38) 43785380 (100.0%) d@0x2dffd88 101600 {no path} | 154 38) 43785380 (100.0%) d@0x2dffd88 101600 {no path} |
| 151 ** symbol gap 0 (end of section) | 155 ** symbol gap 0 (end of section) |
| 152 39) 43785380 (100.0%) b@0x0 262144 third_party/fft_float.cc | 156 39) 43785380 (100.0%) b@0x0 262144 third_party/fft_float.cc |
| 153 ff_cos_131072 | 157 ff_cos_131072 |
| 154 40) 43785380 (100.0%) b@0x0 131072 third_party/fft_fixed.cc | 158 40) 43785380 (100.0%) b@0x0 131072 third_party/fft_fixed.cc |
| 155 ff_cos_131072_fixed | 159 ff_cos_131072_fixed |
| 156 41) 43785380 (100.0%) b@0x0 131072 third_party/fft_float.cc | 160 41) 43785380 (100.0%) b@0x0 131072 third_party/fft_float.cc |
| 157 ff_cos_65536 | 161 ff_cos_65536 |
| 158 42) 43785380 (100.0%) b@0x2dffda0 28 third_party/icu/ucnv_ext.c | 162 42) 43785380 (100.0%) b@0x2dffda0 28 third_party/icu/ucnv_ext.c |
| 159 g_chrome_content_browser_client | 163 g_chrome_content_browser_client |
| 160 43) 43785380 (100.0%) b@0x2dffe80 200 third_party/icu/ucnv_ext.c | 164 43) 43785380 (100.0%) b@0x2dffe80 200 third_party/icu/ucnv_ext.c |
| 161 SaveHistogram::atomic_histogram_pointer | 165 SaveHistogram::atomic_histogram_pointer |
| 162 44) 43785380 (100.0%) b@0x2dffe84 4 third_party/icu/ucnv_ext.c | 166 44) 43785380 (100.0%) b@0x2dffe84 4 third_party/icu/ucnv_ext.c |
| 163 g_AnimationFrameTimeHistogram_clazz | 167 g_AnimationFrameTimeHistogram_clazz |
| OLD | NEW |