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

Side by Side Diff: tools/binary_size/libsupersize/testdata/Console.golden

Issue 2858793002: Create a star symbol for gaps at the start & end of sections (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 # Show pydoc for main types: 1 # Show pydoc for main types:
2 import models 2 import models
3 help(models) 3 help(models)
4 4
5 # Show all attributes of all symbols & per-section totals: 5 # Show all attributes of all symbols & per-section totals:
6 Print(size_info, verbose=True) 6 Print(size_info, verbose=True)
7 7
8 # Show two levels of .text, grouped by first two subdirectories 8 # Show two levels of .text, grouped by first two subdirectories
9 text_syms = size_info.symbols.WhereInSection("t") 9 text_syms = size_info.symbols.WhereInSection("t")
10 by_path = text_syms.GroupBySourcePath(depth=2) 10 by_path = text_syms.GroupBySourcePath(depth=2)
(...skipping 23 matching lines...) Expand all
34 map_file_name=../test.map 34 map_file_name=../test.map
35 35
36 Section Sizes (Total=43,785,380 bytes): 36 Section Sizes (Total=43,785,380 bytes):
37 .bss: 1,300,456 bytes (not included in totals) 37 .bss: 1,300,456 bytes (not included in totals)
38 .data: 101,768 bytes (0.2%) 38 .data: 101,768 bytes (0.2%)
39 .data.rel.ro: 1,065,224 bytes (2.4%) 39 .data.rel.ro: 1,065,224 bytes (2.4%)
40 .data.rel.ro.local: 790,024 bytes (1.8%) 40 .data.rel.ro.local: 790,024 bytes (1.8%)
41 .rodata: 5,927,652 bytes (13.5%) 41 .rodata: 5,927,652 bytes (13.5%)
42 .text: 35,900,712 bytes (82.0%) 42 .text: 35,900,712 bytes (82.0%)
43 43
44 Showing 43 symbols with total pss: 4036054 bytes 44 Showing 48 symbols with total pss: 44309900 bytes
45 .text=77.8kb .rodata=2.52mb other=1.25mb total=3.85mb 45 .text=34.2mb .rodata=5.65mb other=2.37mb total=42.3mb
46 Number of object files: 10 46 Number of object files: 10
47 47
48 First columns are: running total, address, pss 48 First columns are: running total, address, pss
49 1965409 r@0x266e600 1965409 {no path} 49 35821002 t@0x24ca628 35821002 {no path}
50 ** symbol gap 2 (end of section)
51 39107114 r@0x2c158e4 3286112 {no path}
52 ** symbol gap 3 (end of section)
53 41072523 r@0x266e600 1965409 {no path}
50 ** merge strings 54 ** merge strings
51 2755313 d@0x2c17740 789904 third_party/container.c 55 42137655 d@0x2ddc608 1065132 {no path}
56 ** symbol gap 3 (end of section)
57 42927559 d@0x2c17740 789904 third_party/container.c
52 chrome::mojom::FieldTrialRecorderProxy [vtable] 58 chrome::mojom::FieldTrialRecorderProxy [vtable]
53 3431298 r@0x284e518 675985 {no path} 59 43603544 r@0x284e518 675985 {no path}
54 ** merge strings 60 ** merge strings
55 3500422 t@0x28f1e0 69124 third_party/icu/ucnv_ext.c 61 43705144 d@0x2dffd88 101600 {no path}
62 ** symbol gap 3 (end of section)
63 43774268 t@0x28f1e0 69124 third_party/icu/ucnv_ext.c
56 foo_bar 64 foo_bar
57 3506140 t@0x28f000 5718 third_party/icu/ucnv_ext.c 65 43779986 t@0x28f000 5718 third_party/icu/ucnv_ext.c
58 ** symbol gap 0 66 ** symbol gap 0
59 3510180 t@0x2a1000 4040 third_party/container.c 67 43784026 t@0x2a1000 4040 third_party/container.c
60 ** symbol gap 1 68 ** symbol gap 1
61 3510628 t@0x28f000 448 third_party/icu/ucnv_ext.c 69 43784474 t@0x28f000 448 third_party/icu/ucnv_ext.c
62 ucnv_extMatchFromU 70 ucnv_extMatchFromU
63 3510780 d@0x2de7008 152 third_party/container.c 71 43784626 d@0x2de7008 152 third_party/container.c
64 base::android::kBaseRegisteredMethods 72 base::android::kBaseRegisteredMethods
65 3510874 t@0x2a1000 94 third_party/container.c 73 43784720 t@0x2a1000 94 third_party/container.c
66 blink::PaintChunker::releasePaintChunks [clone .part.1] 74 blink::PaintChunker::releasePaintChunks [clone .part.1]
67 3510930 d@0x2c176f0 56 third_party/icu/ucnv_ext.c 75 43784776 d@0x2c176f0 56 third_party/icu/ucnv_ext.c
68 ChromeMainDelegate [vtable] 76 ChromeMainDelegate [vtable]
69 3510986 d@0x2cd8500 56 third_party/paint.cc 77 43784832 d@0x2cd8500 56 third_party/paint.cc
70 ChromeMainDelegateAndroid [vtable] 78 ChromeMainDelegateAndroid [vtable]
71 3511042 t@0x28d910 56 base/page_allocator.cc 79 43784888 t@0x28d910 56 base/page_allocator.cc
72 _GLOBAL__sub_I_bbr_sender.cc 80 _GLOBAL__sub_I_bbr_sender.cc
73 3511097 r@0x28f3450 55 third_party/paint.cc 81 43784943 r@0x28f3450 55 third_party/paint.cc
74 kAnimationFrameTimeHistogramClassPath 82 kAnimationFrameTimeHistogramClassPath
75 3511121 t@0x2a0000 24 third_party/icu/ucnv_ext.c 83 43784967 t@0x2a0000 24 third_party/icu/ucnv_ext.c
76 BazAlias 84 BazAlias
77 3511145 t@0x2a0000 24 {no path} 85 43784991 t@0x2a0000 24 {no path}
78 blink::ContiguousContainerBase::shrinkToFit 86 blink::ContiguousContainerBase::shrinkToFit
79 3511189 r@0x284e370 44 base/page_allocator.cc 87 43785035 r@0x284e370 44 base/page_allocator.cc
80 Name 88 Name
81 3511227 t@0x28d964 38 base/page_allocator.cc 89 43785073 t@0x28d964 38 base/page_allocator.cc
82 extFromUUseMapping 90 extFromUUseMapping
83 3511259 d@0x2cd84e0 32 third_party/gvr-android-sdk/libgvr_shim_static_arm .a/libcontroller_api_impl.a_controller_api_impl.o 91 43785105 d@0x2cd84e0 32 third_party/gvr-android-sdk/libgvr_shim_static_arm .a/libcontroller_api_impl.a_controller_api_impl.o
84 .Lswitch.table.45 92 .Lswitch.table.45
85 3511291 r@0x284e398 32 third_party/container.c 93 43785137 r@0x284e398 32 third_party/container.c
86 chrome::mojom::FilePatcher::Name_ 94 chrome::mojom::FilePatcher::Name_
87 3511323 t@0x28d98a 32 base/page_allocator.cc 95 43785169 t@0x28d98a 32 base/page_allocator.cc
88 extFromUUseMapping 96 extFromUUseMapping
89 3511351 t@0x28f1c8 28 third_party/icu/ucnv_ext.c 97 43785197 t@0x28f1c8 28 third_party/icu/ucnv_ext.c
90 _GLOBAL__sub_I_SkDeviceProfile.cpp 98 _GLOBAL__sub_I_SkDeviceProfile.cpp
91 3511379 t@0x28d948 28 base/page_allocator.cc 99 43785225 t@0x28d948 28 base/page_allocator.cc
92 _GLOBAL__sub_I_pacing_sender.cc 100 _GLOBAL__sub_I_pacing_sender.cc
93 3511407 t@0x2a0020 28 third_party/container.c 101 43785253 t@0x2a0020 28 third_party/container.c
94 blink::ContiguousContainerBase::ContiguousContainerBase 102 blink::ContiguousContainerBase::ContiguousContainerBase
95 3511431 d@0x2c17728 24 third_party/icu/ucnv_ext.c 103 43785277 d@0x2c17728 24 third_party/icu/ucnv_ext.c
96 chrome::mojom::FieldTrialRecorder [vtable] 104 chrome::mojom::FieldTrialRecorder [vtable]
97 3511455 d@0x2cd8538 24 base/page_allocator.cc 105 43785301 d@0x2cd8538 24 base/page_allocator.cc
98 mojo::MessageReceiver [vtable] 106 mojo::MessageReceiver [vtable]
99 3511471 t@0x28d900 16 base/page_allocator.cc 107 43785317 t@0x28d900 16 base/page_allocator.cc
100 _GLOBAL__sub_I_page_allocator.cc 108 _GLOBAL__sub_I_page_allocator.cc
101 3511475 t@0x2a0010 4 third_party/fft_float.cc 109 43785321 t@0x2a0010 4 third_party/fft_float.cc
102 BarAlias 110 BarAlias
103 3511479 t@0x2a0010 4 third_party/fft_float.cc 111 43785325 t@0x2a0010 4 third_party/fft_float.cc
104 FooAlias 112 FooAlias
105 3511483 t@0x2a0010 4 third_party/{shared}/2 113 43785329 t@0x2a0010 4 third_party/{shared}/2
106 blink::ContiguousContainerBase::shrinkToFit [clone .part.1234] [clo ne .isra.2] 114 blink::ContiguousContainerBase::shrinkToFit [clone .part.1234] [clo ne .isra.2]
107 3511495 d@0x2cd8550 12 base/page_allocator.cc 115 43785341 d@0x2cd8550 12 base/page_allocator.cc
108 kMethodsAnimationFrameTimeHistogram 116 kMethodsAnimationFrameTimeHistogram
109 3511506 r@0x284e364 11 base/page_allocator.cc 117 43785349 r@0x284e364 8 base/page_allocator.cc
110 3511514 d@0x2cd84f0 8 third_party/gvr-android-sdk/libgvr_shim_static_arm .a/libport_android_jni.a_jni_utils.o 118 43785357 d@0x2cd84f0 8 third_party/gvr-android-sdk/libgvr_shim_static_arm .a/libport_android_jni.a_jni_utils.o
111 kSystemClassPrefixes 119 kSystemClassPrefixes
112 3511518 d@0x2de70a4 4 third_party/container.c 120 43785361 d@0x2de70a4 4 third_party/container.c
113 base::android::g_library_version_number 121 base::android::g_library_version_number
114 3511522 d@0x2de70a0 4 third_party/container.c 122 43785365 d@0x2de70a0 4 third_party/container.c
115 base::android::g_renderer_histogram_code 123 base::android::g_renderer_histogram_code
116 3511526 r@0x28f3480 4 third_party/paint.cc 124 43785369 r@0x28f3480 4 third_party/paint.cc
117 blink::CSSValueKeywordsHash::findValueImpl::value_word_list 125 blink::CSSValueKeywordsHash::findValueImpl::value_word_list
118 3511530 d@0x2de7000 4 base/page_allocator.cc 126 43785373 d@0x2de7000 4 base/page_allocator.cc
119 google::protobuf::internal::pLinuxKernelCmpxchg 127 google::protobuf::internal::pLinuxKernelCmpxchg
120 3511534 d@0x2de7004 4 third_party/container.c 128 43785377 d@0x2de7004 4 third_party/container.c
121 google::protobuf::internal::pLinuxKernelMemoryBarrier 129 google::protobuf::internal::pLinuxKernelMemoryBarrier
122 3511534 b@0x0 262144 third_party/fft_float.cc 130 43785380 r@0x284e364 3 base/page_allocator.cc
131 ** symbol gap 2
132 43785380 b@0x0 262144 third_party/fft_float.cc
123 ff_cos_131072 133 ff_cos_131072
124 3511534 b@0x0 131072 third_party/fft_fixed.cc 134 43785380 b@0x0 131072 third_party/fft_fixed.cc
125 ff_cos_131072_fixed 135 ff_cos_131072_fixed
126 3511534 b@0x0 131072 third_party/fft_float.cc 136 43785380 b@0x0 131072 third_party/fft_float.cc
127 ff_cos_65536 137 ff_cos_65536
128 3511534 b@0x2dffe80 200 third_party/icu/ucnv_ext.c 138 43785380 b@0x2dffe80 200 third_party/icu/ucnv_ext.c
129 SaveHistogram::atomic_histogram_pointer 139 SaveHistogram::atomic_histogram_pointer
130 3511534 b@0x2dffda0 28 third_party/icu/ucnv_ext.c 140 43785380 b@0x2dffda0 28 third_party/icu/ucnv_ext.c
131 g_chrome_content_browser_client 141 g_chrome_content_browser_client
132 3511534 b@0x2dffe84 4 third_party/icu/ucnv_ext.c 142 43785380 b@0x2dffe84 4 third_party/icu/ucnv_ext.c
133 g_AnimationFrameTimeHistogram_clazz 143 g_AnimationFrameTimeHistogram_clazz
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698