Update boot image and system server profiles [M10C10P80S0PP]
= Perf stats =
(lower is better)
Startup and boot time are improving at the cost of a slight increase in code size, which could be an acceptable cost.
Also it fixes a regression at
Bug: b/249424113
Startup: -1.71%
Memory: 0.02%
Boot time: -0.95%
Code size: 2.41%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.04
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.04
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.04
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.04
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.04
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.04
}
=Profile stats=
Data info:
- total aggregations: 138
- number of (device types, builds): 15
File boot-image-profile.txt
- hot methods: 2288 added, 1228 removed
- methods: 2339 added, 1228 removed
- classes: 138 added, 246 removed
- totals now: 23381 hot methods, 23432 methods, 13514 classes
- totals before: 22321 hot methods, 22321 methods, 13622 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 2095, 1053, 75, 37, 21798, 9494
com.android, 182, 165, 61, 199, 1486, 2958
android.view, 455, 268, 22, 15, 3561, 949
android.hardware, 44, 6, 0, 1, 504, 806
android.animation, 39, 26, 1, 0, 397, 73
android.app, 359, 136, 14, 3, 3131, 1035
android.content, 130, 91, 6, 5, 1893, 562
android.graphics, 124, 65, 3, 3, 2029, 334
android.icu, 82, 53, 0, 0, 2062, 1472
android.media, 82, 8, 0, 1, 870, 575
android.net, 20, 6, 0, 1, 268, 218
android.widget, 138, 57, 2, 0, 1477, 381
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 450 added, 229 removed
- totals now: 0 hot methods, 0 methods, 13393 classes
- totals before: 0 hot methods, 0 methods, 13172 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 286, 27, 0, 9427
com.android, 0, 0, 42, 192, 0, 2908
android.view, 0, 0, 68, 10, 0, 931
android.hardware, 0, 0, 18, 1, 0, 806
android.animation, 0, 0, 1, 0, 0, 72
android.app, 0, 0, 39, 3, 0, 1026
android.content, 0, 0, 8, 5, 0, 555
android.graphics, 0, 0, 4, 3, 0, 332
android.icu, 0, 0, 2, 0, 0, 1472
android.media, 0, 0, 13, 0, 0, 575
android.net, 0, 0, 3, 1, 0, 218
android.widget, 0, 0, 11, 0, 0, 379
File boot-image-profile.txt
- hot methods: 2876 added, 1749 removed
- methods: 2927 added, 1749 removed
- classes: 190 added, 262 removed
- totals now: 33387 hot methods, 33438 methods, 16654 classes
- totals before: 32260 hot methods, 32260 methods, 16726 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 2095, 1053, 82, 37, 21861, 9525
com.android, 208, 191, 66, 199, 2496, 3381
java, 471, 417, 18, 15, 7088, 2034
android.view, 455, 268, 22, 15, 3561, 949
android.hardware, 44, 6, 0, 1, 504, 806
android.animation, 39, 26, 1, 0, 397, 73
android.app, 359, 136, 18, 3, 3131, 1035
android.content, 130, 91, 6, 5, 1893, 562
android.graphics, 124, 65, 3, 3, 2029, 334
android.icu, 82, 53, 0, 0, 2062, 1472
android.media, 82, 8, 3, 1, 870, 575
android.net, 20, 6, 0, 1, 268, 218
android.widget, 138, 57, 2, 0, 1477, 381
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 511 added, 245 removed
- totals now: 0 hot methods, 0 methods, 16502 classes
- totals before: 0 hot methods, 0 methods, 16236 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 290, 27, 0, 9458
com.android, 0, 0, 55, 192, 0, 3331
java, 0, 0, 27, 15, 0, 2023
android.view, 0, 0, 68, 10, 0, 931
android.hardware, 0, 0, 18, 1, 0, 806
android.animation, 0, 0, 1, 0, 0, 72
android.app, 0, 0, 41, 3, 0, 1026
android.content, 0, 0, 8, 5, 0, 555
android.graphics, 0, 0, 4, 3, 0, 332
android.icu, 0, 0, 2, 0, 0, 1472
android.media, 0, 0, 13, 0, 0, 575
android.net, 0, 0, 3, 1, 0, 218
android.widget, 0, 0, 11, 0, 0, 379
File art-profile
- hot methods: 6099 added, 11176 removed
- methods: 8477 added, 16478 removed
- classes: 512 added, 399 removed
- totals now: 27552 hot methods, 52962 methods, 5130 classes
- totals before: 32629 hot methods, 60963 methods, 5017 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 25, 97, 0, 23, 346, 121
com.android, 6074, 11075, 492, 368, 27197, 4913
android.hardware, 23, 83, 0, 20, 275, 82
android.app, 0, 2, 0, 0, 1, 3
android.content, 1, 0, 0, 0, 2, 5
android.net, 1, 12, 0, 3, 50, 22
InternalReferenceRawProfileId: 14025
InternalReferenceCandidateProfileId: 15056
Test: build & benchmark
Ignore-AOSP-First: Updating boot image profiles
Change-Id: Id3e168b9ac675e6b3d12b1f7d69268732488e211
5 files changed