Update boot image and system server profiles [M24C20P47S0PP]
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:35460&f=CandidateName:in:35466
= Perf stats =
(lower is better)
Improvements in Startup and boot times, no noticeable impact for memory at the cost of a slight increase in code size, which could be an acceptable cost.
Startup: -2.02%
Memory(PSS): -0.39%
Boot time: -0.60%
Code size (.oat + .art + .odex): 1.04% (0.99 MB increase)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.24
image_class_threshold: 0.2
preloaded_classes_threshold: 0.47
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.014285714
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.017142856
}
=Profile stats=
Data info:
- total aggregations: 4702
- number of (device types, builds): 128
File boot-image-profile.txt
- hot methods: 3348 added, 3043 removed
- methods: 3348 added, 3043 removed
- classes: 173 added, 40 removed
- totals now: 33196 hot methods, 33196 methods, 17511 classes
- totals before: 32891 hot methods, 32891 methods, 17378 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 2085, 1961, 118, 8, 21452, 10142
com.android, 164, 151, 19, 28, 2450, 3492
java, 928, 780, 24, 0, 7308, 2110
android.view, 371, 372, 6, 2, 3483, 1047
android.hardware, 28, 18, 8, 0, 502, 860
android.bluetooth, 4, 0, 8, 0, 4, 8
android.animation, 94, 84, 9, 0, 414, 82
android.app, 225, 221, 16, 1, 3022, 1115
android.content, 219, 222, 0, 1, 1897, 584
android.graphics, 185, 185, 0, 0, 1977, 345
android.icu, 213, 197, 0, 0, 2064, 1474
android.media, 17, 15, 4, 0, 794, 608
android.net, 89, 36, 39, 0, 308, 262
android.widget, 118, 120, 0, 0, 1406, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 159 added, 39 removed
- totals now: 0 hot methods, 0 methods, 17464 classes
- totals before: 0 hot methods, 0 methods, 17344 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 100, 7, 0, 10106
com.android, 0, 0, 22, 28, 0, 3487
java, 0, 0, 25, 0, 0, 2107
android.view, 0, 0, 4, 2, 0, 1045
android.hardware, 0, 0, 7, 0, 0, 859
android.bluetooth, 0, 0, 5, 0, 0, 5
android.animation, 0, 0, 2, 0, 0, 75
android.app, 0, 0, 15, 0, 0, 1114
android.content, 0, 0, 0, 1, 0, 582
android.media, 0, 0, 3, 0, 0, 604
android.net, 0, 0, 36, 0, 0, 259
File boot-image-profile.txt
- hot methods: 4351 added, 2072 removed
- methods: 4351 added, 2072 removed
- classes: 980 added, 37 removed
- totals now: 25067 hot methods, 25067 methods, 15101 classes
- totals before: 22788 hot methods, 22788 methods, 14158 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 2121, 1966, 134, 8, 21419, 10127
com.android, 118, 105, 22, 28, 1440, 3066
java, 1980, 0, 669, 0, 1982, 783
android.view, 371, 372, 6, 2, 3483, 1047
android.hardware, 28, 18, 8, 0, 502, 860
android.bluetooth, 4, 0, 8, 0, 4, 8
android.animation, 94, 84, 9, 0, 414, 82
android.app, 225, 221, 16, 1, 3022, 1115
android.content, 219, 222, 0, 1, 1897, 584
android.graphics, 185, 185, 0, 0, 1977, 345
android.icu, 207, 203, 0, 0, 2052, 1474
android.media, 17, 15, 4, 0, 794, 608
android.net, 89, 36, 38, 0, 308, 261
android.widget, 118, 120, 0, 0, 1406, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 964 added, 36 removed
- totals now: 0 hot methods, 0 methods, 15057 classes
- totals before: 0 hot methods, 0 methods, 14129 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 116, 7, 0, 10091
com.android, 0, 0, 25, 28, 0, 3061
java, 0, 0, 668, 0, 0, 782
android.view, 0, 0, 4, 2, 0, 1045
android.hardware, 0, 0, 7, 0, 0, 859
android.bluetooth, 0, 0, 5, 0, 0, 5
android.animation, 0, 0, 2, 0, 0, 75
android.app, 0, 0, 15, 0, 0, 1114
android.content, 0, 0, 0, 1, 0, 582
android.media, 0, 0, 3, 0, 0, 604
android.net, 0, 0, 35, 0, 0, 258
InternalReferenceRawProfileId: 35460
InternalReferenceCandidateProfileId: 35466
Test: build & benchmark
Change-Id: I8379223a4a6972abab46f79fce1d3e6e86121a3e
4 files changed