diff options
author | 2025-02-19 09:04:35 -0800 | |
---|---|---|
committer | 2025-02-25 11:32:28 -0800 | |
commit | 17b204c2447726166af6edd476ee27c01064b4db (patch) | |
tree | 0fff8e7e455b00466894496dbf34ac27237064d9 /runtime/class_linker_test.cc | |
parent | c71267376498c87099d13e5b9d21ae2c6631c30d (diff) |
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 boot-image-profile.txt
- hot methods: 25 added, 2 removed
- methods: 3 added, 2 removed
- classes: 134 added, 0 removed
- totals now: 10233 hot methods, 10233 methods, 3427 classes
- totals before: 10210 hot methods, 10232 methods, 3293 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 19, 0, 65, 52
com.android, 1, 0, 5, 0, 927, 446
java, 17, 2, 103, 0, 7239, 2088
android.app, 0, 0, 2, 0, 0, 2
android.content, 0, 0, 2, 0, 0, 2
android.graphics, 0, 0, 3, 0, 0, 3
android.icu, 0, 0, 1, 0, 0, 1
android.widget, 0, 0, 1, 0, 0, 1
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 142 added, 0 removed
- totals now: 0 hot methods, 0 methods, 3418 classes
- totals before: 0 hot methods, 0 methods, 3276 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 16, 0, 0, 49
com.android, 0, 0, 5, 0, 0, 446
java, 0, 0, 109, 0, 0, 2085
android.app, 0, 0, 2, 0, 0, 2
android.content, 0, 0, 1, 0, 0, 1
android.graphics, 0, 0, 3, 0, 0, 3
android.icu, 0, 0, 1, 0, 0, 1
android.widget, 0, 0, 1, 0, 0, 1
InternalReferenceRawProfileId: 54874
InternalReferenceCandidateProfileId: 54879
Test: build & benchmark
Change-Id: Ie20c05acf2189982fba99e7db2fb5fbee574910d
Diffstat (limited to 'runtime/class_linker_test.cc')
0 files changed, 0 insertions, 0 deletions