Update boot image and system server profiles [M22C17P72S0PP]
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:33618
= Perf stats =
(lower is better)
Improvements in Startup time, memory and no noticeable impact for boot time at the cost of a slight increase in code size, which could be an acceptable cost.
Startup: -0.99%
Memory(PSS): -0.84%
Boot time: 0.46%
Code size (.oat + .art + .odex): 0.79% (0.68 MB increase)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.22
image_class_threshold: 0.17
preloaded_classes_threshold: 0.72
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.02125
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.0275
}
=Profile stats=
Data info:
- total aggregations: 426
- number of (device types, builds): 20
File boot-image-profile.txt
- hot methods: 1697 added, 1322 removed
- methods: 1697 added, 1322 removed
- classes: 87 added, 15 removed
- totals now: 32891 hot methods, 32891 methods, 17378 classes
- totals before: 32516 hot methods, 32516 methods, 17306 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1165, 838, 61, 8, 21328, 10032
com.android, 45, 22, 16, 7, 2437, 3501
java, 407, 387, 5, 0, 7160, 2086
android.view, 321, 199, 11, 1, 3484, 1043
android.hardware, 26, 9, 4, 3, 492, 852
android.animation, 24, 24, 0, 0, 404, 73
android.app, 120, 36, 9, 0, 3018, 1100
android.content, 90, 71, 3, 1, 1900, 585
android.graphics, 87, 79, 2, 0, 1977, 345
android.icu, 112, 107, 0, 0, 2048, 1474
android.media, 15, 12, 0, 0, 792, 604
android.net, 7, 6, 1, 0, 255, 223
android.widget, 75, 68, 2, 0, 1408, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 429 added, 11 removed
- totals now: 0 hot methods, 0 methods, 17344 classes
- totals before: 0 hot methods, 0 methods, 16926 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 351, 7, 0, 10013
com.android, 0, 0, 42, 4, 0, 3493
java, 0, 0, 6, 0, 0, 2082
android.view, 0, 0, 50, 1, 0, 1043
android.hardware, 0, 0, 35, 3, 0, 852
android.app, 0, 0, 56, 0, 0, 1099
android.content, 0, 0, 18, 0, 0, 583
android.graphics, 0, 0, 4, 0, 0, 345
android.icu, 0, 0, 1, 0, 0, 1474
android.media, 0, 0, 10, 0, 0, 601
android.net, 0, 0, 5, 0, 0, 223
android.widget, 0, 0, 7, 0, 0, 398
File boot-image-profile.txt
- hot methods: 1207 added, 856 removed
- methods: 1207 added, 856 removed
- classes: 80 added, 15 removed
- totals now: 22788 hot methods, 22788 methods, 14158 classes
- totals before: 22437 hot methods, 22437 methods, 14093 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1162, 835, 61, 8, 21264, 10001
com.android, 43, 20, 16, 7, 1427, 3072
android.view, 321, 199, 11, 1, 3484, 1043
android.hardware, 26, 9, 4, 3, 492, 852
android.animation, 24, 24, 0, 0, 404, 73
android.app, 120, 36, 9, 0, 3018, 1100
android.content, 90, 71, 3, 1, 1900, 585
android.graphics, 87, 79, 2, 0, 1977, 345
android.icu, 112, 107, 0, 0, 2048, 1474
android.media, 15, 12, 0, 0, 792, 604
android.net, 7, 6, 1, 0, 255, 223
android.widget, 75, 68, 2, 0, 1408, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 412 added, 11 removed
- totals now: 0 hot methods, 0 methods, 14129 classes
- totals before: 0 hot methods, 0 methods, 13728 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 351, 7, 0, 9982
com.android, 0, 0, 38, 4, 0, 3064
android.view, 0, 0, 50, 1, 0, 1043
android.hardware, 0, 0, 35, 3, 0, 852
android.app, 0, 0, 56, 0, 0, 1099
android.content, 0, 0, 18, 0, 0, 583
android.graphics, 0, 0, 4, 0, 0, 345
android.icu, 0, 0, 1, 0, 0, 1474
android.media, 0, 0, 10, 0, 0, 601
android.net, 0, 0, 5, 0, 0, 223
android.widget, 0, 0, 7, 0, 0, 398
File art-profile
- hot methods: 1741 added, 2436 removed
- methods: 1741 added, 2436 removed
- classes: 185 added, 49 removed
- totals now: 12201 hot methods, 12201 methods, 1612 classes
- totals before: 12896 hot methods, 12896 methods, 1476 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 7, 23, 0, 0, 63, 23
com.android, 1734, 2413, 184, 48, 12138, 1558
android.hardware, 6, 21, 0, 0, 47, 12
android.net, 1, 1, 0, 0, 10, 4
InternalReferenceRawProfileId: 33618
InternalReferenceCandidateProfileId: 33621
Test: build & benchmark
Change-Id: I137e6d45fc17143855f5c2458050fa650771d509
5 files changed