Update boot image and system server profiles [M80C35P56S0PP]
Bug: 254051423 Test: go/art-benchmark?p=BootImageProfileId:41298&f=CandidateName:in:41302 = Perf stats = (lower is better) Regular update to the boot image profiles. Benchmark shows improvements for Apps startup and memory, boot memory and boot time, but with an increase of code size by 629KB which could be an acceptable cost given the improvmenet in the other metrics. Avg % [Confidence interval min-max %] App Startup: -1.43 [-3.4, 0.53] App RSS: 0.23 [-0.44, 0.89] App Anon RSS + Swap: -0.79 [-2.55, 0.96] Memory(PSS): -1.07 [-3.16, 1.03] Memory(RSS): -0.97 [-1.94, 0] Memory(Private-dirty): -1.47 [-6.05, 3.12] Boot time: -1.11 [-1.59, -0.62] Code size: 629KB (0.701%) Ignore-AOSP-First: Boot image profiles Flag: EXEMPT resource only update BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code =Generation Strategy= method_threshold: 0.8 image_class_threshold: 0.35 preloaded_classes_threshold: 0.56 priority_packages_thresholds { key: "service-appsearch.jar.prof:CLASS:android" value: 0.025 } priority_packages_thresholds { key: "service-appsearch.jar.prof:METHOD:android" value: 0.057142857 } priority_packages_thresholds { key: "service-art.jar.prof:CLASS:android" value: 0.025 } priority_packages_thresholds { key: "service-art.jar.prof:METHOD:android" value: 0.057142857 } priority_packages_thresholds { key: "service-connectivity.jar.prof:CLASS:android" value: 0.025 } priority_packages_thresholds { key: "service-connectivity.jar.prof:METHOD:android" value: 0.057142857 } priority_packages_thresholds { key: "service-wifi.jar.prof:CLASS:android" value: 0.025 } priority_packages_thresholds { key: "service-wifi.jar.prof:METHOD:android" value: 0.057142857 } priority_packages_thresholds { key: "services.jar.prof:CLASS:android" value: 0.025 } priority_packages_thresholds { key: "services.jar.prof:METHOD:android" value: 0.057142857 } =Profile stats= Data info: - total aggregations: 4270 - number of (device types, builds): 130 File preloaded-classes - hot methods: 0 added, 0 removed - methods: 0 added, 0 removed - classes: 398 added, 355 removed - totals now: 0 hot methods, 0 methods, 17805 classes - totals before: 0 hot methods, 0 methods, 17762 classes per package info as csv (selected): package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num android, 0, 0, 268, 253, 0, 10387 com.android, 0, 0, 65, 18, 0, 3562 java, 0, 0, 36, 71, 0, 2083 android.view, 0, 0, 32, 58, 0, 1116 android.hardware, 0, 0, 5, 7, 0, 871 android.animation, 0, 0, 5, 5, 0, 89 android.app, 0, 0, 26, 29, 0, 1177 android.content, 0, 0, 9, 15, 0, 626 android.graphics, 0, 0, 11, 7, 0, 372 android.icu, 0, 0, 11, 19, 0, 1489 android.media, 0, 0, 9, 12, 0, 625 android.net, 0, 0, 0, 5, 0, 216 android.widget, 0, 0, 22, 41, 0, 424 File boot-image-profile.txt - hot methods: 1121 added, 1294 removed - methods: 1121 added, 1294 removed - classes: 423 added, 326 removed - totals now: 22324 hot methods, 22324 methods, 14639 classes - totals before: 22497 hot methods, 22497 methods, 14542 classes per package info as csv (selected): package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num android, 1062, 1216, 335, 301, 20834, 10394 com.android, 59, 78, 84, 24, 1393, 3155 java, 0, 0, 0, 1, 2, 114 android.view, 204, 260, 40, 60, 3359, 1120 android.hardware, 5, 23, 9, 16, 466, 871 android.animation, 65, 65, 5, 5, 413, 89 android.app, 62, 86, 40, 37, 2912, 1181 android.content, 87, 97, 10, 22, 1906, 629 android.graphics, 73, 74, 8, 7, 1974, 372 android.icu, 128, 100, 30, 26, 2076, 1489 android.media, 12, 14, 12, 15, 790, 630 android.net, 23, 26, 0, 4, 249, 218 android.widget, 62, 67, 23, 41, 1399, 425 File preloaded-classes - hot methods: 0 added, 0 removed - methods: 0 added, 0 removed - classes: 324 added, 270 removed - totals now: 0 hot methods, 0 methods, 14584 classes - totals before: 0 hot methods, 0 methods, 14530 classes per package info as csv (selected): package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num android, 0, 0, 267, 253, 0, 10355 com.android, 0, 0, 57, 17, 0, 3142 android.view, 0, 0, 32, 58, 0, 1116 android.hardware, 0, 0, 5, 7, 0, 871 android.animation, 0, 0, 5, 5, 0, 89 android.app, 0, 0, 26, 29, 0, 1177 android.content, 0, 0, 9, 15, 0, 626 android.graphics, 0, 0, 11, 7, 0, 372 android.icu, 0, 0, 11, 19, 0, 1489 android.media, 0, 0, 9, 12, 0, 625 android.net, 0, 0, 0, 5, 0, 216 android.widget, 0, 0, 22, 41, 0, 424 File art-profile - hot methods: 2259 added, 2069 removed - methods: 2259 added, 2069 removed - classes: 1618 added, 3 removed - totals now: 4140 hot methods, 4140 methods, 1697 classes - totals before: 3950 hot methods, 3950 methods, 82 classes per package info as csv (selected): package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num android, 12, 12, 17, 1, 21, 17 com.android, 2247, 2057, 1567, 2, 4119, 1646 android.hardware, 10, 10, 8, 0, 18, 8 android.content, 0, 0, 3, 0, 1, 3 android.net, 2, 2, 3, 0, 2, 3 InternalReferenceRawProfileId: 41298 InternalReferenceCandidateProfileId: 41302 Test: build & benchmark (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4816fa8ae8801cd3f780787c55755ce42a46d924) Merged-In: Id6e9863dbeef2bc9ea4d8855e5d640dd81d16f8e Change-Id: Id6e9863dbeef2bc9ea4d8855e5d640dd81d16f8e
Loading
Please register or sign in to comment