Update boot image and system server profiles [M21C16P62S0PP]
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:36190&f=CandidateName:in:36196
= Perf stats =
(lower is better)
Regular update to the boot image profiles. Benchmark shows an improvement in total boot time, and no noticeable impact for startup and memory, with a small increase in code size which could be an acceptable cost.
Avg % (Confidence interval min-max %)
Startup: 0.19% (-1.01% -> 1.4%)
Memory(PSS): -0.21% (-1.58% -> 1.17%)
Boot time: -1.4% (-2.41% -> -0.38%)
Code size (.oat + .art + .odex): 0.24MB (0.28%)
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: 1365
- number of (device types, builds): 70
File boot-image-profile.txt
- hot methods: 1058 added, 1176 removed
- methods: 1058 added, 1176 removed
- classes: 0 added, 14 removed
- totals now: 32963 hot methods, 32963 methods, 17366 classes
- totals before: 33081 hot methods, 33081 methods, 17380 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 670, 765, 0, 7, 21390, 10047
com.android, 72, 85, 0, 6, 2472, 3479
java, 253, 258, 0, 0, 7126, 2102
android.view, 184, 209, 0, 1, 3514, 1047
android.hardware, 20, 23, 0, 0, 521, 858
android.animation, 17, 17, 0, 0, 415, 82
android.app, 37, 89, 0, 5, 2973, 1099
android.content, 77, 77, 0, 0, 1898, 584
android.graphics, 86, 89, 0, 0, 1979, 345
android.icu, 49, 49, 0, 0, 2064, 1474
android.media, 16, 21, 0, 0, 794, 604
android.net, 14, 14, 0, 0, 252, 220
android.widget, 65, 67, 0, 0, 1417, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 13 removed
- totals now: 0 hot methods, 0 methods, 17334 classes
- totals before: 0 hot methods, 0 methods, 17347 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, 7, 0, 10028
com.android, 0, 0, 0, 6, 0, 3474
android.view, 0, 0, 0, 1, 0, 1047
android.app, 0, 0, 0, 5, 0, 1098
File boot-image-profile.txt
- hot methods: 718 added, 826 removed
- methods: 718 added, 826 removed
- classes: 0 added, 14 removed
- totals now: 22885 hot methods, 22885 methods, 14154 classes
- totals before: 22993 hot methods, 22993 methods, 14168 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 670, 765, 0, 7, 21326, 10016
com.android, 48, 61, 0, 6, 1462, 3050
android.view, 184, 209, 0, 1, 3514, 1047
android.hardware, 20, 23, 0, 0, 521, 858
android.animation, 17, 17, 0, 0, 415, 82
android.app, 37, 89, 0, 5, 2973, 1099
android.content, 77, 77, 0, 0, 1898, 584
android.graphics, 86, 89, 0, 0, 1979, 345
android.icu, 49, 49, 0, 0, 2064, 1474
android.media, 16, 21, 0, 0, 794, 604
android.net, 14, 14, 0, 0, 252, 220
android.widget, 65, 67, 0, 0, 1417, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 13 removed
- totals now: 0 hot methods, 0 methods, 14128 classes
- totals before: 0 hot methods, 0 methods, 14141 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, 7, 0, 9997
com.android, 0, 0, 0, 6, 0, 3045
android.view, 0, 0, 0, 1, 0, 1047
android.app, 0, 0, 0, 5, 0, 1098
File art-profile
- hot methods: 1040 added, 941 removed
- methods: 1040 added, 941 removed
- classes: 5 added, 2 removed
- totals now: 13086 hot methods, 13086 methods, 1482 classes
- totals before: 12987 hot methods, 12987 methods, 1479 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 4, 2, 0, 1, 79, 28
com.android, 1036, 939, 4, 0, 13007, 1424
java, 0, 0, 0, 1, 0, 0
android.hardware, 4, 2, 0, 0, 63, 13
InternalReferenceRawProfileId: 36190
InternalReferenceCandidateProfileId: 36196
Test: build & benchmark
Change-Id: Ib1c3a4f2e42907191c68de754d3e997639426ecc
5 files changed