Update boot image and system server profiles [M2C2P20S0PP]
=Generation Strategy=
method_threshold: 0.02
image_class_threshold: 0.02
preloaded_classes_threshold: 0.2
upgrade_startup_methods_to_hot: true
method_threshold_for_image_classes: 5.0E-4
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.005
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.005
}
priority_packages_thresholds {
key: "com.android.chrome"
value: 0.005
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.005
}
=Profile stats=
Data info:
- total aggregations: 593
- number of (device types, builds): 42
File boot-image-profile.txt
- hot methods: 21552 added, 208 removed
- methods: 29176 added, 88 removed
- classes: 88 added, 813 removed
- totals now: 37124 hot methods, 45138 methods, 10321 classes
- totals before: 15780 hot methods, 16050 methods, 10321 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 15476, 155, 68, 85, 23407, 6251
com.android, 2832, 17, 4, 724, 4093, 1182
java, 2358, 28, 8, 4, 7393, 1637
android.view, 1971, 26, 2, 4, 2911, 692
android.hardware, 681, 6, 4, 24, 774, 550
android.bluetooth, 193, 16, 0, 0, 243, 157
android.animation, 165, 1, 0, 0, 354, 70
android.app, 2357, 38, 5, 2, 3583, 787
android.content, 1608, 14, 12, 7, 2728, 431
android.graphics, 908, 5, 0, 0, 1756, 286
android.media, 848, 9, 5, 0, 968, 414
android.net, 763, 16, 1, 1, 1294, 401
android.widget, 1224, 0, 1, 0, 1495, 295
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 35 added, 799 removed
- totals now: 0 hot methods, 0 methods, 10262 classes
- totals before: 0 hot methods, 0 methods, 10262 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 31, 75, 0, 6187
com.android, 0, 0, 3, 724, 0, 1176
java, 0, 0, 1, 0, 0, 1618
android.view, 0, 0, 2, 4, 0, 692
android.hardware, 0, 0, 2, 24, 0, 548
android.app, 0, 0, 3, 1, 0, 784
android.content, 0, 0, 10, 7, 0, 427
android.media, 0, 0, 2, 0, 0, 411
android.net, 0, 0, 1, 1, 0, 399
android.widget, 0, 0, 1, 0, 0, 293
File art-profile
- hot methods: 8824 added, 187 removed
- methods: 5425 added, 1144 removed
- classes: 545 added, 26 removed
- totals now: 11729 hot methods, 24182 methods, 2954 classes
- totals before: 3092 hot methods, 19901 methods, 2954 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 214, 0, 30, 0, 230, 137
com.android, 8580, 187, 508, 26, 11469, 3315
android.hardware, 87, 0, 8, 0, 87, 45
android.app, 1, 0, 0, 0, 1, 1
android.content, 0, 0, 1, 0, 1, 3
android.net, 100, 0, 19, 0, 112, 73
= Perf stats =
(lower is better)
Avg Startup time change: -4.33%
Avg Memory at boot PSS change: +0.8%
Avg Code size: +71.68%
ATP tests:
health/memory/boot
health/microbench/startup/firstparty/am-start/coldlaunch/open-calculator
health/microbench/startup/firstparty/am-start/coldlaunch/open-calendar
health/microbench/startup/firstparty/am-start/coldlaunch/open-camera
health/microbench/startup/firstparty/am-start/coldlaunch/open-chrome
health/microbench/startup/firstparty/am-start/coldlaunch/open-clock
health/microbench/startup/firstparty/am-start/coldlaunch/open-contacts
health/microbench/startup/firstparty/am-start/coldlaunch/open-gmail
health/microbench/startup/firstparty/am-start/coldlaunch/open-google
health/microbench/startup/firstparty/am-start/coldlaunch/open-maps
health/microbench/startup/firstparty/am-start/coldlaunch/open-messenger
health/microbench/startup/firstparty/am-start/coldlaunch/open-phone
health/microbench/startup/firstparty/am-start/coldlaunch/open-photos
health/microbench/startup/firstparty/am-start/coldlaunch/open-settings
health/microbench/startup/firstparty/am-start/coldlaunch/open-youtube
InternalReferenceRawProfileId: 153
InternalReferenceCandidateProfileId: 158
Test: build & benchmark
Change-Id: Iec81f61abb4675710c638451d8fea37d53854908
3 files changed