Update boot image and system server profiles [M23C18P64S0PP]
Bug: 254051423 Test: go/art-benchmark?p=BootImageProfileId:36003&f=CandidateName:in:36015 = Perf stats = (lower is better) Improvements in Startup, no noticeable impact for boot-time and memory at the cost of a slight increase in code size, which could be an acceptable cost. Also to keep the profile up to date with the code base. Startup: -1.05% Memory(PSS): 0.13% Boot time: 0.22% Code size (.oat + .art + .odex): 2.75% (2.29 MB increase) Ignore-AOSP-First: Boot image profiles BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code =Generation Strategy= method_threshold: 0.23 image_class_threshold: 0.18 preloaded_classes_threshold: 0.64 priority_packages_thresholds { key: "service-appsearch.jar.prof:CLASS:android" value: 0.012857144 } priority_packages_thresholds { key: "service-appsearch.jar.prof:METHOD:android" value: 0.016428571 } priority_packages_thresholds { key: "service-art.jar.prof:CLASS:android" value: 0.012857144 } priority_packages_thresholds { key: "service-art.jar.prof:METHOD:android" value: 0.016428571 } priority_packages_thresholds { key: "service-connectivity.jar.prof:CLASS:android" value: 0.012857144 } priority_packages_thresholds { key: "service-connectivity.jar.prof:METHOD:android" value: 0.016428571 } priority_packages_thresholds { key: "service-wifi.jar.prof:CLASS:android" value: 0.012857144 } priority_packages_thresholds { key: "service-wifi.jar.prof:METHOD:android" value: 0.016428571 } priority_packages_thresholds { key: "services.jar.prof:CLASS:android" value: 0.012857144 } priority_packages_thresholds { key: "services.jar.prof:METHOD:android" value: 0.016428571 } =Profile stats= Data info: - total aggregations: 3267 - number of (device types, builds): 53 File boot-image-profile.txt - hot methods: 2776 added, 2269 removed - methods: 2776 added, 2269 removed - classes: 183 added, 62 removed - totals now: 33398 hot methods, 33398 methods, 17499 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, 1643, 1324, 126, 17, 21647, 10141 com.android, 176, 119, 20, 28, 2494, 3493 java, 757, 667, 25, 9, 7250, 2102 android.view, 376, 291, 7, 2, 3569, 1048 android.hardware, 51, 18, 8, 2, 525, 858 android.bluetooth, 6, 0, 10, 0, 6, 10 android.animation, 32, 21, 9, 0, 415, 82 android.app, 116, 110, 17, 2, 3024, 1115 android.content, 135, 133, 0, 1, 1902, 584 android.graphics, 93, 87, 0, 0, 1983, 345 android.icu, 160, 132, 0, 0, 2076, 1474 android.media, 38, 30, 4, 1, 800, 607 android.net, 86, 29, 40, 3, 312, 260 android.widget, 125, 112, 0, 0, 1421, 399 File preloaded-classes - hot methods: 0 added, 0 removed - methods: 0 added, 0 removed - classes: 173 added, 61 removed - totals now: 0 hot methods, 0 methods, 17456 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, 114, 16, 0, 10111 com.android, 0, 0, 23, 28, 0, 3488 java, 0, 0, 25, 9, 0, 2098 android.view, 0, 0, 7, 2, 0, 1048 android.hardware, 0, 0, 7, 2, 0, 857 android.bluetooth, 0, 0, 5, 0, 0, 5 android.animation, 0, 0, 9, 0, 0, 82 android.app, 0, 0, 15, 1, 0, 1113 android.content, 0, 0, 0, 1, 0, 582 android.media, 0, 0, 3, 1, 0, 603 android.net, 0, 0, 39, 3, 0, 259 File boot-image-profile.txt - hot methods: 3931 added, 1398 removed - methods: 3931 added, 1398 removed - classes: 995 added, 46 removed - totals now: 25321 hot methods, 25321 methods, 15107 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, 1683, 1324, 142, 17, 21623, 10126 com.android, 130, 73, 23, 28, 1484, 3067 java, 1986, 0, 672, 0, 1988, 786 android.view, 376, 291, 7, 2, 3569, 1048 android.hardware, 51, 18, 8, 2, 525, 858 android.bluetooth, 6, 0, 10, 0, 6, 10 android.animation, 32, 21, 9, 0, 415, 82 android.app, 116, 110, 17, 2, 3024, 1115 android.content, 135, 133, 0, 1, 1902, 584 android.graphics, 93, 87, 0, 0, 1983, 345 android.icu, 159, 134, 0, 0, 2073, 1474 android.media, 38, 30, 4, 1, 800, 607 android.net, 84, 29, 39, 3, 310, 259 android.widget, 125, 112, 0, 0, 1421, 399 File preloaded-classes - hot methods: 0 added, 0 removed - methods: 0 added, 0 removed - classes: 985 added, 45 removed - totals now: 0 hot methods, 0 methods, 15069 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, 130, 16, 0, 10096 com.android, 0, 0, 26, 28, 0, 3062 java, 0, 0, 671, 0, 0, 785 android.view, 0, 0, 7, 2, 0, 1048 android.hardware, 0, 0, 7, 2, 0, 857 android.bluetooth, 0, 0, 5, 0, 0, 5 android.animation, 0, 0, 9, 0, 0, 82 android.app, 0, 0, 15, 1, 0, 1113 android.content, 0, 0, 0, 1, 0, 582 android.media, 0, 0, 3, 1, 0, 603 android.net, 0, 0, 38, 3, 0, 258 File art-profile - hot methods: 10322 added, 2590 removed - methods: 10322 added, 2590 removed - classes: 3578 added, 188 removed - totals now: 19933 hot methods, 19933 methods, 5002 classes - totals before: 12201 hot methods, 12201 methods, 1612 classes per package info as csv (selected): package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num android, 4600, 10, 2515, 2, 4653, 2536 com.android, 4376, 2580, 481, 184, 13934, 1855 java, 1289, 0, 398, 0, 1289, 398 android.view, 526, 0, 239, 0, 526, 239 android.hardware, 172, 9, 237, 0, 210, 249 android.bluetooth, 24, 0, 24, 0, 24, 24 android.animation, 39, 0, 13, 0, 39, 13 android.app, 766, 0, 404, 0, 766, 404 android.content, 707, 0, 256, 1, 709, 259 android.graphics, 203, 0, 61, 0, 203, 61 android.icu, 13, 0, 7, 0, 13, 7 android.media, 157, 0, 191, 0, 157, 191 android.net, 201, 1, 114, 1, 210, 117 android.widget, 50, 0, 32, 0, 50, 32 InternalReferenceRawProfileId: 36003 InternalReferenceCandidateProfileId: 36015 Test: build & benchmark Change-Id: If8d53eb3c9624604b12fe84886dca7832d29d146
Loading
Please register or sign in to comment