Descriptionsupersize: Add symbol.template_name, and strip <>s from symbol.name
Details:
* full_name, template_name, name are now always set (full_name used to
be None when same as name)
* full_name (rather than name) is now set by linker_map_parser.
* Adds: WhereIsTemplate() and WhereTemplateNameMatches()
* Rename Cluster() -> Clustered() (to match tense of other methods).
* Rename GroupBy*() -> GroupedBy*() (to match tense of other methods).
* Fixes a bug in Cluster(), as shown by test goldens. I can't figure
out what changed though!
Running a query of "WhereIsTemplate()" on libchrome.so shows that
templates comprise 4.97mb of 35.6mb. (14%)
The canned_query of "TemplatesByName" shows:
Top five templates:
0) 188057 (3.5%) *@Group 188057 base::internal::Invoker::Run (count=5954)
1) 352433 (6.5%) *@Group 164376 color_xform_RGBA (count=101)
2) 508259 (9.4%) *@Group 155825 std::__ndk1::vector::__push_back_slow_path (count=1769)
3) 637251 (11.8%) *@Group 128992 std::__ndk1::__sort (count=170)
4) 728739 (13.5%) *@Group 91488 std::__ndk1::__tree::__insert_unique (count=641)
Top templates by namespace:
0) 1543846 (28.6%) *@Group 1543846 std (count=15883)
1) 2099482 (38.9%) *@Group 555636 WTF (count=7275)
2) 2640109 (48.9%) *@Group 540627 blink (count=17540)
3) 3150899 (58.4%) *@Group 510789 v8 (count=3293)
4) 3599574 (66.7%) *@Group 448674 base (count=20460)
5) 3957713 (73.4%) *@Group 358138 mojo (count=2795)
6) 4268254 (79.1%) *@Group 310541 IPC (count=6995)
Top collection classes:
1) 825057 (15.3%) *@Group 395878 std::__ndk1::vector (count=3327)
2) 1050592 (19.5%) *@Group 225534 std::__ndk1::__tree (count=3548)
3) 1275208 (23.6%) *@Group 224616 WTF::HashTable (count=2423)
6) 1873846 (34.7%) *@Group 193488 WTF::Vector (count=2461)
8) 2173194 (40.3%) *@Group 134972 std::__ndk1::deque (count=507)
10) 2386316 (44.2%) *@Group 103163 std::__ndk1::__hash_table (count=2019)
BUG=681694
Review-Url: https://codereview.chromium.org/2870743003
Cr-Commit-Position: refs/heads/master@{#470566}
Committed: https://chromium.googlesource.com/chromium/src/+/1f8fe2383c7805bb0385c118b19a8efe008ec741
Patch Set 1 #Patch Set 2 : canned query #
Total comments: 4
Patch Set 3 : review comments #Depends on Patchset: Messages
Total messages: 15 (10 generated)
|