Update boot image and system server profiles [M21C16P62S0PP]
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:36076&f=CandidateName:in:36081
= Perf stats =
(lower is better)
Improvements in total boot time, no noticeable impact for startup and memory, and great reduction in code size.
Startup: 0.63%
Memory(PSS): -0.15%
Boot time: -2.09%
Code size (.oat + .art + .odex): -0.83% (-0.71 MB reduction)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.21
image_class_threshold: 0.16
preloaded_classes_threshold: 0.62
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.015
}
=Profile stats=
Data info:
- total aggregations: 2977
- number of (device types, builds): 82
File boot-image-profile.txt
- hot methods: 1713 added, 2030 removed
- methods: 1713 added, 2030 removed
- classes: 2 added, 121 removed
- totals now: 33081 hot methods, 33081 methods, 17380 classes
- totals before: 33398 hot methods, 33398 methods, 17499 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1211, 1373, 1, 88, 21485, 10054
com.android, 65, 74, 0, 8, 2485, 3485
java, 344, 463, 0, 0, 7131, 2102
android.view, 315, 345, 0, 0, 3539, 1048
android.hardware, 9, 10, 0, 0, 524, 858
android.bluetooth, 0, 6, 0, 10, 0, 0
android.animation, 11, 11, 0, 0, 415, 82
android.app, 88, 87, 0, 11, 3025, 1104
android.content, 117, 121, 0, 0, 1898, 584
android.graphics, 110, 111, 0, 0, 1982, 345
android.icu, 80, 92, 0, 0, 2064, 1474
android.media, 18, 19, 0, 3, 799, 604
android.net, 28, 88, 0, 40, 252, 220
android.widget, 122, 124, 0, 0, 1419, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 109 removed
- totals now: 0 hot methods, 0 methods, 17347 classes
- totals before: 0 hot methods, 0 methods, 17456 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 76, 0, 10035
com.android, 0, 0, 0, 8, 0, 3480
android.bluetooth, 0, 0, 0, 5, 0, 0
android.app, 0, 0, 0, 10, 0, 1103
android.media, 0, 0, 0, 2, 0, 601
android.net, 0, 0, 0, 39, 0, 220
File boot-image-profile.txt
- hot methods: 1276 added, 3604 removed
- methods: 1276 added, 3604 removed
- classes: 2 added, 941 removed
- totals now: 22993 hot methods, 22993 methods, 14168 classes
- totals before: 25321 hot methods, 25321 methods, 15107 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1213, 1415, 1, 104, 21421, 10023
com.android, 63, 72, 0, 11, 1475, 3056
java, 0, 1986, 0, 668, 2, 118
android.view, 315, 345, 0, 0, 3539, 1048
android.hardware, 9, 10, 0, 0, 524, 858
android.bluetooth, 0, 6, 0, 10, 0, 0
android.animation, 11, 11, 0, 0, 415, 82
android.app, 88, 87, 0, 11, 3025, 1104
android.content, 117, 121, 0, 0, 1898, 584
android.graphics, 110, 111, 0, 0, 1982, 345
android.icu, 82, 91, 0, 0, 2064, 1474
android.media, 18, 19, 0, 3, 799, 604
android.net, 28, 86, 0, 39, 252, 220
android.widget, 122, 124, 0, 0, 1419, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 928 removed
- totals now: 0 hot methods, 0 methods, 14141 classes
- totals before: 0 hot methods, 0 methods, 15069 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 92, 0, 10004
com.android, 0, 0, 0, 11, 0, 3051
java, 0, 0, 0, 667, 0, 118
android.bluetooth, 0, 0, 0, 5, 0, 0
android.app, 0, 0, 0, 10, 0, 1103
android.media, 0, 0, 0, 2, 0, 601
android.net, 0, 0, 0, 38, 0, 220
File art-profile
- hot methods: 826 added, 7772 removed
- methods: 826 added, 7772 removed
- classes: 1 added, 3524 removed
- totals now: 12987 hot methods, 12987 methods, 1479 classes
- totals before: 19933 hot methods, 19933 methods, 5002 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 6, 4582, 0, 2507, 77, 29
com.android, 820, 1844, 1, 436, 12910, 1420
java, 0, 1289, 0, 397, 0, 1
android.view, 0, 526, 0, 239, 0, 0
android.hardware, 6, 155, 0, 236, 61, 13
android.bluetooth, 0, 24, 0, 24, 0, 0
android.animation, 0, 39, 0, 13, 0, 0
android.app, 0, 766, 0, 402, 0, 2
android.content, 0, 707, 0, 255, 2, 4
android.graphics, 0, 203, 0, 61, 0, 0
android.icu, 0, 13, 0, 7, 0, 0
android.media, 0, 157, 0, 191, 0, 0
android.net, 0, 200, 0, 114, 10, 3
android.widget, 0, 50, 0, 32, 0, 0
InternalReferenceRawProfileId: 36076
InternalReferenceCandidateProfileId: 36081
Test: build & benchmark
Change-Id: I34b8ef4d89dafb5ce77adbf85f8de829d78f3047
5 files changed