Update boot image and system server profiles [M46C37P58S0PP]
Bug: 254051423
Bug: 360419348
Test: go/art-benchmark?p=BootImageProfileId:54874&f=CandidateName:in:54879
= Perf stats =
(lower is better)
Regular update to the boot image profiles, with also a fix of adding a few of frequently used classes which are missed during the generation of the profile. Benchmark shows improvements for cold app startup and app memory, with no impact on boot time and memory, but with an increase of code size by 59KB which could be an acceptable cost given the improvmenet in the other metrics.
Avg % [Confidence interval min-max %]
App Startup: -2.03 [-5.38, 1.32]
App File RSS: -1.48 [-6.06, 3.11]
App Anon RSS + Swap: -0.41 [-14.3, 13.49]
Memory(PSS): +0.23 [-1.49, 1.95]
Memory(RSS): -0.33 [-1.04, 0.38]
Memory(Private-dirty): -0.36 [-7.13, 6.41]
Boot time: -0.04 [-0.55, 0.48]
Code size: +0.059MB (0.076%)
Ignore-AOSP-First: Boot image profiles
Flag: EXEMPT NONE regular update to the boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
Bypass the increase in services.odex_bytes as it is justfiled by the other improvements in startup time and memory
=Generation Strategy=
method_threshold: 0.46
image_class_threshold: 0.37
preloaded_classes_threshold: 0.58
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.052857142
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.065714285
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.052857142
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.065714285
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.052857142
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.065714285
}
priority_packages_thresholds {
key: "service-uwb.jar.prof:CLASS:android"
value: 0.052857142
}
priority_packages_thresholds {
key: "service-uwb.jar.prof:METHOD:android"
value: 0.065714285
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.052857142
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.065714285
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.052857142
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.065714285
}
=Profile stats=
Data info:
- total aggregations: 2698
- number of (device types, builds): 159
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 273 added, 3 removed
- totals now: 0 hot methods, 0 methods, 18430 classes
- totals before: 0 hot methods, 0 methods, 18160 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 119, 3, 0, 10738
com.android, 0, 0, 31, 0, 0, 3666
java, 0, 0, 109, 0, 0, 2199
android.view, 0, 0, 12, 0, 0, 1141
android.hardware, 0, 0, 5, 0, 0, 885
android.app, 0, 0, 24, 0, 0, 1224
android.content, 0, 0, 6, 0, 0, 637
android.graphics, 0, 0, 5, 0, 0, 377
android.icu, 0, 0, 1, 0, 0, 1491
android.media, 0, 0, 6, 0, 0, 630
android.net, 0, 0, 6, 0, 0, 213
android.widget, 0, 0, 1, 0, 0, 426
File boot-image-profile.txt
- hot methods: 436 added, 52 removed
- methods: 91 added, 64 removed
- classes: 194 added, 3 removed
- totals now: 23282 hot methods, 23310 methods, 15156 classes
- totals before: 22898 hot methods, 23283 methods, 14965 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 332, 50, 95, 3, 21618, 10745
com.android, 104, 2, 21, 0, 1567, 3229
java, 0, 0, 74, 0, 2, 188
android.view, 60, 16, 7, 1, 3530, 1142
android.hardware, 15, 1, 2, 0, 490, 886
android.animation, 2, 1, 0, 0, 419, 89
android.app, 95, 9, 18, 0, 3105, 1227
android.content, 25, 3, 6, 0, 1946, 639
android.graphics, 5, 3, 1, 0, 1984, 378
android.icu, 2, 3, 0, 0, 2096, 1491
android.media, 0, 0, 7, 0, 785, 638
android.net, 3, 0, 6, 0, 256, 213
android.widget, 0, 0, 2, 0, 1401, 428
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 222 added, 3 removed
- totals now: 0 hot methods, 0 methods, 15103 classes
- totals before: 0 hot methods, 0 methods, 14884 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 119, 3, 0, 10705
com.android, 0, 0, 30, 0, 0, 3224
java, 0, 0, 69, 0, 0, 183
android.view, 0, 0, 12, 0, 0, 1141
android.hardware, 0, 0, 5, 0, 0, 885
android.app, 0, 0, 24, 0, 0, 1224
android.content, 0, 0, 6, 0, 0, 637
android.graphics, 0, 0, 5, 0, 0, 377
android.icu, 0, 0, 1, 0, 0, 1491
android.media, 0, 0, 6, 0, 0, 630
android.net, 0, 0, 6, 0, 0, 213
android.widget, 0, 0, 1, 0, 0, 426
File art-profile
- hot methods: 297 added, 156 removed
- methods: 297 added, 156 removed
- classes: 232 added, 1 removed
- totals now: 4485 hot methods, 4485 methods, 296 classes
- totals before: 4344 hot methods, 4344 methods, 65 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 112, 0, 20, 117
com.android, 297, 156, 35, 1, 4465, 94
java, 0, 0, 83, 0, 0, 83
android.view, 0, 0, 13, 0, 0, 13
android.hardware, 0, 0, 7, 0, 17, 7
android.app, 0, 0, 25, 0, 0, 27
android.content, 0, 0, 10, 0, 1, 11
android.media, 0, 0, 10, 0, 0, 10
android.net, 0, 0, 8, 0, 2, 8
InternalReferenceRawProfileId: 54874
InternalReferenceCandidateProfileId: 54879
Test: build & benchmark
Change-Id: Id72be07137c66625aba9d17b862db8d445a44662
Loading
Please register or sign in to comment