Update boot image and system server profiles [M33C28P64S0PP]
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:38696&f=CandidateName:in:38704
Test: ATP test https://android-build.corp.google.com/abtd/run/L45000030002490953
= Perf stats =
(lower is better)
Regular update to the boot image profiles, Benchmark shows almost no impact on system memory and boot Time, but shows an improvement for apps cold startup time, apps rss memory and a good reduction for code size.
Avg % [Confidence interval min-max %]
App Startup: -1.64 [-3.76, 0.48]
App RSS: -1.49 [-2.32, -0.65]
Memory(PSS): 0.89 [-0.79, 2.57]
Boot time: 0.55 [-0.64, 1.75]
Code size: -0.6MB (-0.66%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.33
image_class_threshold: 0.28
preloaded_classes_threshold: 0.64
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.02
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.02357143
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.02
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.02357143
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.02
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.02357143
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.02
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.02357143
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.02
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.02357143
}
=Profile stats=
Data info:
- total aggregations: 377
- number of (device types, builds): 105
File boot-image-profile.txt
- hot methods: 1152 added, 879 removed
- methods: 1152 added, 879 removed
- classes: 298 added, 64 removed
- totals now: 32596 hot methods, 32596 methods, 17855 classes
- totals before: 32323 hot methods, 32323 methods, 17621 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 628, 400, 232, 41, 21193, 10453
com.android, 76, 44, 56, 12, 2366, 3511
java, 383, 371, 4, 6, 7069, 2141
android.view, 102, 49, 42, 0, 3467, 1146
android.hardware, 14, 10, 17, 3, 494, 883
android.animation, 14, 14, 1, 0, 413, 89
android.app, 70, 20, 29, 0, 2977, 1193
android.content, 61, 34, 19, 0, 1917, 644
android.graphics, 17, 11, 4, 4, 1979, 371
android.icu, 45, 45, 1, 15, 2048, 1485
android.media, 9, 9, 7, 0, 792, 633
android.net, 16, 15, 0, 0, 252, 228
android.widget, 12, 12, 11, 0, 1404, 443
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 654 added, 63 removed
- totals now: 0 hot methods, 0 methods, 17750 classes
- totals before: 0 hot methods, 0 methods, 17159 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 537, 41, 0, 10385
com.android, 0, 0, 56, 12, 0, 3484
java, 0, 0, 44, 6, 0, 2135
android.view, 0, 0, 88, 0, 0, 1134
android.hardware, 0, 0, 24, 3, 0, 878
android.animation, 0, 0, 14, 0, 0, 89
android.app, 0, 0, 81, 0, 0, 1189
android.content, 0, 0, 47, 0, 0, 639
android.graphics, 0, 0, 30, 4, 0, 371
android.icu, 0, 0, 24, 15, 0, 1485
android.media, 0, 0, 26, 0, 0, 629
android.net, 0, 0, 4, 0, 0, 228
android.widget, 0, 0, 45, 0, 0, 441
File boot-image-profile.txt
- hot methods: 683 added, 427 removed
- methods: 683 added, 427 removed
- classes: 294 added, 55 removed
- totals now: 22664 hot methods, 22664 methods, 14620 classes
- totals before: 22408 hot methods, 22408 methods, 14381 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 627, 399, 232, 41, 21129, 10422
com.android, 56, 28, 56, 12, 1438, 3109
java, 0, 0, 1, 0, 2, 116
android.view, 102, 49, 42, 0, 3467, 1146
android.hardware, 14, 10, 17, 3, 494, 883
android.animation, 14, 14, 1, 0, 413, 89
android.app, 70, 20, 29, 0, 2977, 1193
android.content, 61, 34, 19, 0, 1917, 644
android.graphics, 17, 11, 4, 4, 1979, 371
android.icu, 45, 45, 1, 15, 2048, 1485
android.media, 9, 9, 7, 0, 792, 633
android.net, 16, 15, 0, 0, 252, 228
android.widget, 12, 12, 11, 0, 1404, 443
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 591 added, 54 removed
- totals now: 0 hot methods, 0 methods, 14523 classes
- totals before: 0 hot methods, 0 methods, 13986 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 537, 41, 0, 10354
com.android, 0, 0, 48, 12, 0, 3082
java, 0, 0, 1, 0, 0, 116
android.view, 0, 0, 88, 0, 0, 1134
android.hardware, 0, 0, 24, 3, 0, 878
android.animation, 0, 0, 14, 0, 0, 89
android.app, 0, 0, 81, 0, 0, 1189
android.content, 0, 0, 47, 0, 0, 639
android.graphics, 0, 0, 30, 4, 0, 371
android.icu, 0, 0, 24, 15, 0, 1485
android.media, 0, 0, 26, 0, 0, 629
android.net, 0, 0, 4, 0, 0, 228
android.widget, 0, 0, 45, 0, 0, 441
File art-profile
- hot methods: 3026 added, 5535 removed
- methods: 3026 added, 5535 removed
- classes: 276 added, 100 removed
- totals now: 11751 hot methods, 11751 methods, 1604 classes
- totals before: 14260 hot methods, 14260 methods, 1428 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 17, 30, 1, 4, 66, 22
com.android, 3009, 5499, 268, 94, 11685, 1548
java, 0, 0, 1, 0, 0, 1
android.hardware, 16, 29, 0, 4, 50, 8
android.content, 0, 0, 1, 0, 2, 4
android.net, 1, 1, 0, 0, 10, 3
InternalReferenceRawProfileId: 38696
InternalReferenceCandidateProfileId: 38704
Test: build & benchmark
Change-Id: I4053e27e32e350030cdffb47fbeb04f43e94ef8e
5 files changed