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

Unified Diff: tools/binary_size/libsupersize/testdata/SymbolGroupMethods.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
« no previous file with comments | « tools/binary_size/libsupersize/testdata/FullDescription.golden ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/binary_size/libsupersize/testdata/SymbolGroupMethods.golden
diff --git a/tools/binary_size/libsupersize/testdata/SymbolGroupMethods.golden b/tools/binary_size/libsupersize/testdata/SymbolGroupMethods.golden
index 0f031106f041cbc701f29a3582b498c9cd1e87d4..a2933c83845d690e9b81295cf128096a2bad04ac 100644
--- a/tools/binary_size/libsupersize/testdata/SymbolGroupMethods.golden
+++ b/tools/binary_size/libsupersize/testdata/SymbolGroupMethods.golden
@@ -1,66 +1,214 @@
-GroupByNamespace()
-Showing 10 symbols (10 unique) with total pss: 44309900 bytes
+GroupedByName()
+Showing 44 symbols (44 unique) with total pss: 44309900 bytes
.text=34.2mb .rodata=5.65mb other=2.37mb total=42.3mb
Number of object files: 10
Index, Running Total, Section@Address, PSS
------------------------------------------------------------
-0) 8 (0.0%) *@Group 8 google::protobuf::internal (count=2)
-1) 32 (0.0%) *@Group 24 mojo (count=1)
-2) 789960 (1.8%) *@Group 789928 chrome::mojom (count=2)
-3) 790120 (1.8%) *@Group 160 base::android (count=3)
-4) 790320 (1.8%) *@Group 200 SaveHistogram (count=1)
-5) 790352 (1.8%) *@Group 32 chrome::mojom::FilePatcher (count=1)
-6) 790408 (1.8%) *@Group 56 blink::ContiguousContainerBase (count=3)
-7) 790502 (1.8%) *@Group 94 blink::PaintChunker (count=1)
-8) 44309896 (100.0%) *@Group 43519394 {global} (count=33)
-9) 44309900 (100.0%) *@Group 4 blink::CSSValueKeywordsHash::findValueImpl (count=1)
-GroupByNamespace(depth=1)
-Showing 7 symbols (7 unique) with total pss: 44309900 bytes
+0) 8 (0.0%) *@Group 8 (count=1)
+1) 64 (0.0%) *@Group 56 _GLOBAL__sub_I_bbr_sender.cc (count=1)
+2) 131136 (0.3%) *@Group 131072 ff_cos_65536 (count=1)
+3) 131288 (0.3%) *@Group 152 base::android::kBaseRegisteredMethods (count=1)
+4) 131292 (0.3%) *@Group 4 BarAlias (count=1)
+5) 131296 (0.3%) *@Group 4 blink::CSSValueKeywordsHash::findValueImpl::value_word_list (count=1)
+6) 131366 (0.3%) *@Group 70 extFromUUseMapping (count=2)
+7) 262438 (0.6%) *@Group 131072 ff_cos_131072_fixed (count=1)
+8) 2903832 (6.6%) *@Group 2641394 ** merge strings (count=2)
+9) 2903844 (6.6%) *@Group 12 kMethodsAnimationFrameTimeHistogram (count=1)
+10) 2903900 (6.6%) *@Group 56 ChromeMainDelegate [vtable] (count=1)
+11) 2903928 (6.6%) *@Group 28 blink::ContiguousContainerBase::ContiguousContainerBase (count=1)
+12) 2903936 (6.6%) *@Group 8 kSystemClassPrefixes (count=1)
+13) 7356780 (16.6%) *@Group 4452844 ** symbol gap 3 (end of section) (count=3)
+14) 7356804 (16.6%) *@Group 24 blink::ContiguousContainerBase::shrinkToFit (count=1)
+15) 7425928 (16.8%) *@Group 69124 foo_bar (count=1)
+16) 7426128 (16.8%) *@Group 200 SaveHistogram::atomic_histogram_pointer (count=1)
+17) 7426132 (16.8%) *@Group 4 base::android::g_renderer_histogram_code (count=1)
+18) 7426135 (16.8%) *@Group 3 ** symbol gap 2 (count=1)
+19) 7430175 (16.8%) *@Group 4040 ** symbol gap 1 (count=1)
+20) 7435893 (16.8%) *@Group 5718 ** symbol gap 0 (count=1)
+21) 7435897 (16.8%) *@Group 4 g_AnimationFrameTimeHistogram_clazz (count=1)
+22) 7435901 (16.8%) *@Group 4 google::protobuf::internal::pLinuxKernelCmpxchg (count=1)
+23) 7435925 (16.8%) *@Group 24 mojo::MessageReceiver [vtable] (count=1)
+24) 7435969 (16.8%) *@Group 44 Name (count=1)
+25) 7435973 (16.8%) *@Group 4 base::android::g_library_version_number (count=1)
+26) 8225877 (18.6%) *@Group 789904 chrome::mojom::FieldTrialRecorderProxy [vtable] (count=1)
+27) 8225901 (18.6%) *@Group 24 BazAlias (count=1)
+28) 44046903 (99.4%) *@Group 35821002 ** symbol gap 2 (end of section) (count=1)
+29) 44309047 (100.0%) *@Group 262144 ff_cos_131072 (count=1)
+30) 44309075 (100.0%) *@Group 28 g_chrome_content_browser_client (count=1)
+31) 44309099 (100.0%) *@Group 24 chrome::mojom::FieldTrialRecorder [vtable] (count=1)
+32) 44309103 (100.0%) *@Group 4 blink::ContiguousContainerBase::shrinkToFit [clone .part.1234] [clone .isra.2] (count=1)
+33) 44309197 (100.0%) *@Group 94 blink::PaintChunker::releasePaintChunks [clone .part.1] (count=1)
+34) 44309252 (100.0%) *@Group 55 kAnimationFrameTimeHistogramClassPath (count=1)
+35) 44309284 (100.0%) *@Group 32 chrome::mojom::FilePatcher::Name_ (count=1)
+36) 44309312 (100.0%) *@Group 28 _GLOBAL__sub_I_SkDeviceProfile.cpp (count=1)
+37) 44309316 (100.0%) *@Group 4 google::protobuf::internal::pLinuxKernelMemoryBarrier (count=1)
+38) 44309372 (100.0%) *@Group 56 ChromeMainDelegateAndroid [vtable] (count=1)
+39) 44309404 (100.0%) *@Group 32 .Lswitch.table.45 (count=1)
+40) 44309408 (100.0%) *@Group 4 FooAlias (count=1)
+41) 44309424 (100.0%) *@Group 16 _GLOBAL__sub_I_page_allocator.cc (count=1)
+42) 44309872 (100.0%) *@Group 448 ucnv_extMatchFromU (count=1)
+43) 44309900 (100.0%) *@Group 28 _GLOBAL__sub_I_pacing_sender.cc (count=1)
+GroupedByName(depth=1)
+Showing 35 symbols (35 unique) with total pss: 44309900 bytes
.text=34.2mb .rodata=5.65mb other=2.37mb total=42.3mb
Number of object files: 10
Index, Running Total, Section@Address, PSS
------------------------------------------------------------
-0) 8 (0.0%) *@Group 8 google (count=2)
-1) 789968 (1.8%) *@Group 789960 chrome (count=3)
-2) 790168 (1.8%) *@Group 200 SaveHistogram (count=1)
-3) 790322 (1.8%) *@Group 154 blink (count=5)
-4) 790482 (1.8%) *@Group 160 base (count=3)
-5) 44309876 (100.0%) *@Group 43519394 {global} (count=33)
-6) 44309900 (100.0%) *@Group 24 mojo (count=1)
-GroupByNamespace(depth=1, fallback=None)
-Showing 7 symbols (7 unique) with total pss: 44309900 bytes
+0) 8 (0.0%) *@Group 8 (count=1)
+1) 64 (0.0%) *@Group 56 _GLOBAL__sub_I_bbr_sender.cc (count=1)
+2) 131136 (0.3%) *@Group 131072 ff_cos_65536 (count=1)
+3) 131144 (0.3%) *@Group 8 google (count=2)
+4) 131148 (0.3%) *@Group 4 BarAlias (count=1)
+5) 131218 (0.3%) *@Group 70 extFromUUseMapping (count=2)
+6) 131418 (0.3%) *@Group 200 SaveHistogram (count=1)
+7) 131572 (0.3%) *@Group 154 blink (count=5)
+8) 2772966 (6.3%) *@Group 2641394 ** merge strings (count=2)
+9) 2772978 (6.3%) *@Group 12 kMethodsAnimationFrameTimeHistogram (count=1)
+10) 2773002 (6.3%) *@Group 24 mojo (count=1)
+11) 2773058 (6.3%) *@Group 56 ChromeMainDelegate [vtable] (count=1)
+12) 2773066 (6.3%) *@Group 8 kSystemClassPrefixes (count=1)
+13) 7225910 (16.3%) *@Group 4452844 ** symbol gap 3 (end of section) (count=3)
+14) 7488054 (16.9%) *@Group 262144 ff_cos_131072 (count=1)
+15) 8278014 (18.7%) *@Group 789960 chrome (count=3)
+16) 8347138 (18.8%) *@Group 69124 foo_bar (count=1)
+17) 8347142 (18.8%) *@Group 4 g_AnimationFrameTimeHistogram_clazz (count=1)
+18) 8347145 (18.8%) *@Group 3 ** symbol gap 2 (count=1)
+19) 8351185 (18.8%) *@Group 4040 ** symbol gap 1 (count=1)
+20) 8356903 (18.9%) *@Group 5718 ** symbol gap 0 (count=1)
+21) 8356947 (18.9%) *@Group 44 Name (count=1)
+22) 8356971 (18.9%) *@Group 24 BazAlias (count=1)
+23) 44177973 (99.7%) *@Group 35821002 ** symbol gap 2 (end of section) (count=1)
+24) 44178133 (99.7%) *@Group 160 base (count=3)
+25) 44178161 (99.7%) *@Group 28 g_chrome_content_browser_client (count=1)
+26) 44309233 (100.0%) *@Group 131072 ff_cos_131072_fixed (count=1)
+27) 44309288 (100.0%) *@Group 55 kAnimationFrameTimeHistogramClassPath (count=1)
+28) 44309316 (100.0%) *@Group 28 _GLOBAL__sub_I_SkDeviceProfile.cpp (count=1)
+29) 44309372 (100.0%) *@Group 56 ChromeMainDelegateAndroid [vtable] (count=1)
+30) 44309404 (100.0%) *@Group 32 .Lswitch.table.45 (count=1)
+31) 44309408 (100.0%) *@Group 4 FooAlias (count=1)
+32) 44309424 (100.0%) *@Group 16 _GLOBAL__sub_I_page_allocator.cc (count=1)
+33) 44309872 (100.0%) *@Group 448 ucnv_extMatchFromU (count=1)
+34) 44309900 (100.0%) *@Group 28 _GLOBAL__sub_I_pacing_sender.cc (count=1)
+GroupedByName(depth=-1)
+Showing 38 symbols (38 unique) with total pss: 44309900 bytes
.text=34.2mb .rodata=5.65mb other=2.37mb total=42.3mb
Number of object files: 10
Index, Running Total, Section@Address, PSS
------------------------------------------------------------
-0) 8 (0.0%) *@Group 8 google (count=2)
-1) 789968 (1.8%) *@Group 789960 chrome (count=3)
-2) 790168 (1.8%) *@Group 200 SaveHistogram (count=1)
-3) 44309562 (100.0%) *@Group 43519394 (count=33)
-4) 44309722 (100.0%) *@Group 160 base (count=3)
-5) 44309876 (100.0%) *@Group 154 blink (count=5)
-6) 44309900 (100.0%) *@Group 24 mojo (count=1)
-GroupByNamespace(depth=1, min_count=2)
-Showing 7 symbols (7 unique) with total pss: 44309900 bytes
+0) 8 (0.0%) *@Group 8 (count=1)
+1) 64 (0.0%) *@Group 56 _GLOBAL__sub_I_bbr_sender.cc (count=1)
+2) 131136 (0.3%) *@Group 131072 ff_cos_65536 (count=1)
+3) 131140 (0.3%) *@Group 4 BarAlias (count=1)
+4) 131210 (0.3%) *@Group 70 extFromUUseMapping (count=2)
+5) 131410 (0.3%) *@Group 200 SaveHistogram (count=1)
+6) 131442 (0.3%) *@Group 32 chrome::mojom::FilePatcher (count=1)
+7) 2772836 (6.3%) *@Group 2641394 ** merge strings (count=2)
+8) 2903908 (6.6%) *@Group 131072 ff_cos_131072_fixed (count=1)
+9) 2903920 (6.6%) *@Group 12 kMethodsAnimationFrameTimeHistogram (count=1)
+10) 2903944 (6.6%) *@Group 24 mojo (count=1)
+11) 2904000 (6.6%) *@Group 56 ChromeMainDelegate [vtable] (count=1)
+12) 2904008 (6.6%) *@Group 8 kSystemClassPrefixes (count=1)
+13) 7356852 (16.6%) *@Group 4452844 ** symbol gap 3 (end of section) (count=3)
+14) 7618996 (17.2%) *@Group 262144 ff_cos_131072 (count=1)
+15) 7688120 (17.4%) *@Group 69124 foo_bar (count=1)
+16) 7688124 (17.4%) *@Group 4 g_AnimationFrameTimeHistogram_clazz (count=1)
+17) 7688127 (17.4%) *@Group 3 ** symbol gap 2 (count=1)
+18) 7692167 (17.4%) *@Group 4040 ** symbol gap 1 (count=1)
+19) 7697885 (17.4%) *@Group 5718 ** symbol gap 0 (count=1)
+20) 7697889 (17.4%) *@Group 4 blink::CSSValueKeywordsHash::findValueImpl (count=1)
+21) 7697933 (17.4%) *@Group 44 Name (count=1)
+22) 7698093 (17.4%) *@Group 160 base::android (count=3)
+23) 7698117 (17.4%) *@Group 24 BazAlias (count=1)
+24) 43519119 (98.2%) *@Group 35821002 ** symbol gap 2 (end of section) (count=1)
+25) 43519147 (98.2%) *@Group 28 g_chrome_content_browser_client (count=1)
+26) 43519203 (98.2%) *@Group 56 blink::ContiguousContainerBase (count=3)
+27) 43519297 (98.2%) *@Group 94 blink::PaintChunker (count=1)
+28) 43519352 (98.2%) *@Group 55 kAnimationFrameTimeHistogramClassPath (count=1)
+29) 43519380 (98.2%) *@Group 28 _GLOBAL__sub_I_SkDeviceProfile.cpp (count=1)
+30) 44309308 (100.0%) *@Group 789928 chrome::mojom (count=2)
+31) 44309364 (100.0%) *@Group 56 ChromeMainDelegateAndroid [vtable] (count=1)
+32) 44309396 (100.0%) *@Group 32 .Lswitch.table.45 (count=1)
+33) 44309404 (100.0%) *@Group 8 google::protobuf::internal (count=2)
+34) 44309408 (100.0%) *@Group 4 FooAlias (count=1)
+35) 44309424 (100.0%) *@Group 16 _GLOBAL__sub_I_page_allocator.cc (count=1)
+36) 44309872 (100.0%) *@Group 448 ucnv_extMatchFromU (count=1)
+37) 44309900 (100.0%) *@Group 28 _GLOBAL__sub_I_pacing_sender.cc (count=1)
+GroupedByName(depth=1, min_count=2)
+Showing 35 symbols (34 unique) with total pss: 44309900 bytes
.text=34.2mb .rodata=5.65mb other=2.37mb total=42.3mb
Number of object files: 10
Index, Running Total, Section@Address, PSS
------------------------------------------------------------
-0) 8 (0.0%) *@Group 8 {no path}
+0) 8 (0.0%) r@0x284e364 8 base/page_allocator.cc
+1) 64 (0.0%) t@0x28d910 56 base/page_allocator.cc
+ _GLOBAL__sub_I_bbr_sender.cc
+2) 64 (0.0%) b@0x0 131072 third_party/fft_float.cc
+ ff_cos_65536
+3) 72 (0.0%) *@Group 8 {no path}
google (count=2)
-1) 789968 (1.8%) *@Group 789960 {no path}
- chrome (count=3)
-2) 789968 (1.8%) b@0x2dffe80 200 third_party/icu/ucnv_ext.c
+4) 76 (0.0%) t@0x2a0010 4 third_party/fft_float.cc
+ BarAlias
+5) 146 (0.0%) *@Group 70 base/page_allocator.cc
+ extFromUUseMapping (count=2)
+6) 146 (0.0%) b@0x2dffe80 200 third_party/icu/ucnv_ext.c
SaveHistogram::atomic_histogram_pointer
-3) 790122 (1.8%) *@Group 154 {no path}
+7) 300 (0.0%) *@Group 154 {no path}
blink (count=5)
-4) 790282 (1.8%) *@Group 160 third_party/container.c
- base (count=3)
-5) 44309676 (100.0%) *@Group 43519394 {no path}
- {global} (count=33)
-6) 44309700 (100.0%) d@0x2cd8538 24 base/page_allocator.cc
+8) 2641694 (6.0%) *@Group 2641394 {no path}
+ ** merge strings (count=2)
+9) 2641706 (6.0%) d@0x2cd8550 12 base/page_allocator.cc
+ kMethodsAnimationFrameTimeHistogram
+10) 2641730 (6.0%) d@0x2cd8538 24 base/page_allocator.cc
mojo::MessageReceiver [vtable]
+11) 2641786 (6.0%) d@0x2c176f0 56 third_party/icu/ucnv_ext.c
+ ChromeMainDelegate [vtable]
+12) 2641794 (6.0%) d@0x2cd84f0 8 third_party/gvr-android-sdk/libgvr_shim_static_arm.a/libport_android_jni.a_jni_utils.o
+ kSystemClassPrefixes
+13) 7094638 (16.0%) *@Group 4452844 {no path}
+ ** symbol gap 3 (end of section) (count=3)
+14) 7094638 (16.0%) b@0x0 262144 third_party/fft_float.cc
+ ff_cos_131072
+15) 7884598 (17.8%) *@Group 789960 {no path}
+ chrome (count=3)
+16) 7953722 (18.0%) t@0x28f1e0 69124 third_party/icu/ucnv_ext.c
+ foo_bar
+17) 7953722 (18.0%) b@0x2dffe84 4 third_party/icu/ucnv_ext.c
+ g_AnimationFrameTimeHistogram_clazz
+18) 7953725 (18.0%) r@0x284e364 3 {no path}
+ ** symbol gap 2
+19) 7957765 (18.0%) t@0x2a1000 4040 {no path}
+ ** symbol gap 1
+20) 7963483 (18.0%) t@0x28f000 5718 {no path}
+ ** symbol gap 0
+21) 7963527 (18.0%) r@0x284e370 44 base/page_allocator.cc
+ Name
+22) 7963551 (18.0%) t@0x2a0000 24 third_party/icu/ucnv_ext.c
+ BazAlias
+23) 43784553 (98.8%) t@0x24ca628 35821002 {no path}
+ ** symbol gap 2 (end of section)
+24) 43784713 (98.8%) *@Group 160 third_party/container.c
+ base (count=3)
+25) 43784713 (98.8%) b@0x2dffda0 28 third_party/icu/ucnv_ext.c
+ g_chrome_content_browser_client
+26) 43784713 (98.8%) b@0x0 131072 third_party/fft_fixed.cc
+ ff_cos_131072_fixed
+27) 43784768 (98.8%) r@0x28f3450 55 third_party/paint.cc
+ kAnimationFrameTimeHistogramClassPath
+28) 43784796 (98.8%) t@0x28f1c8 28 third_party/icu/ucnv_ext.c
+ _GLOBAL__sub_I_SkDeviceProfile.cpp
+29) 43784852 (98.8%) d@0x2cd8500 56 third_party/paint.cc
+ ChromeMainDelegateAndroid [vtable]
+30) 43784884 (98.8%) d@0x2cd84e0 32 third_party/gvr-android-sdk/libgvr_shim_static_arm.a/libcontroller_api_impl.a_controller_api_impl.o
+ .Lswitch.table.45
+31) 43784888 (98.8%) t@0x2a0010 4 third_party/fft_float.cc
+ FooAlias
+32) 43784904 (98.8%) t@0x28d900 16 base/page_allocator.cc
+ _GLOBAL__sub_I_page_allocator.cc
+33) 43785352 (98.8%) t@0x28f000 448 third_party/icu/ucnv_ext.c
+ ucnv_extMatchFromU
+34) 43785380 (98.8%) t@0x28d948 28 base/page_allocator.cc
+ _GLOBAL__sub_I_pacing_sender.cc
« no previous file with comments | « tools/binary_size/libsupersize/testdata/FullDescription.golden ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698