Age | Commit message (Collapse) | Author |
|
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 preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 273 added, 3 removed
- totals now: 0 hot methods, 0 methods, 18430 classes
- totals before: 0 hot methods, 0 methods, 18160 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 119, 3, 0, 10738
com.android, 0, 0, 31, 0, 0, 3666
java, 0, 0, 109, 0, 0, 2199
android.view, 0, 0, 12, 0, 0, 1141
android.hardware, 0, 0, 5, 0, 0, 885
android.app, 0, 0, 24, 0, 0, 1224
android.content, 0, 0, 6, 0, 0, 637
android.graphics, 0, 0, 5, 0, 0, 377
android.icu, 0, 0, 1, 0, 0, 1491
android.media, 0, 0, 6, 0, 0, 630
android.net, 0, 0, 6, 0, 0, 213
android.widget, 0, 0, 1, 0, 0, 426
File boot-image-profile.txt
- hot methods: 436 added, 52 removed
- methods: 91 added, 64 removed
- classes: 194 added, 3 removed
- totals now: 23282 hot methods, 23310 methods, 15156 classes
- totals before: 22898 hot methods, 23283 methods, 14965 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 332, 50, 95, 3, 21618, 10745
com.android, 104, 2, 21, 0, 1567, 3229
java, 0, 0, 74, 0, 2, 188
android.view, 60, 16, 7, 1, 3530, 1142
android.hardware, 15, 1, 2, 0, 490, 886
android.animation, 2, 1, 0, 0, 419, 89
android.app, 95, 9, 18, 0, 3105, 1227
android.content, 25, 3, 6, 0, 1946, 639
android.graphics, 5, 3, 1, 0, 1984, 378
android.icu, 2, 3, 0, 0, 2096, 1491
android.media, 0, 0, 7, 0, 785, 638
android.net, 3, 0, 6, 0, 256, 213
android.widget, 0, 0, 2, 0, 1401, 428
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 222 added, 3 removed
- totals now: 0 hot methods, 0 methods, 15103 classes
- totals before: 0 hot methods, 0 methods, 14884 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 119, 3, 0, 10705
com.android, 0, 0, 30, 0, 0, 3224
java, 0, 0, 69, 0, 0, 183
android.view, 0, 0, 12, 0, 0, 1141
android.hardware, 0, 0, 5, 0, 0, 885
android.app, 0, 0, 24, 0, 0, 1224
android.content, 0, 0, 6, 0, 0, 637
android.graphics, 0, 0, 5, 0, 0, 377
android.icu, 0, 0, 1, 0, 0, 1491
android.media, 0, 0, 6, 0, 0, 630
android.net, 0, 0, 6, 0, 0, 213
android.widget, 0, 0, 1, 0, 0, 426
File art-profile
- hot methods: 297 added, 156 removed
- methods: 297 added, 156 removed
- classes: 232 added, 1 removed
- totals now: 4485 hot methods, 4485 methods, 296 classes
- totals before: 4344 hot methods, 4344 methods, 65 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 112, 0, 20, 117
com.android, 297, 156, 35, 1, 4465, 94
java, 0, 0, 83, 0, 0, 83
android.view, 0, 0, 13, 0, 0, 13
android.hardware, 0, 0, 7, 0, 17, 7
android.app, 0, 0, 25, 0, 0, 27
android.content, 0, 0, 10, 0, 1, 11
android.media, 0, 0, 10, 0, 0, 10
android.net, 0, 0, 8, 0, 2, 8
InternalReferenceRawProfileId: 54874
InternalReferenceCandidateProfileId: 54879
Test: build & benchmark
Change-Id: Id72be07137c66625aba9d17b862db8d445a44662
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:54227&f=CandidateName:in:54235
= Perf stats =
(lower is better)
Regular update to the boot image profiles. Benchmark shows improvements for Apps startup and boot memory, with no impact on boot time, but with an increase of code size by 391KB which could be an acceptable cost given the improvmenet in the other metrics.
Avg % [Confidence interval min-max %]
App Startup: -2.99 [-6.52, 0.53]
App File RSS: -3.63 [-16.14, 8.88]
App Anon RSS + Swap: -1.37 [-16.88, 14.14]
Memory(PSS): -1.25 [-3.92, 1.41]
Memory(RSS): -1.3 [-4.02, 1.42]
Memory(Private-dirty): -2.69 [-9.54, 4.16]
Boot time: +0.48 [-0.09, 1.06]
Code size: +0.39MB (0.50%)
Ignore-AOSP-First: Boot image profiles
Flag: EXEMPT resource only update
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
Bypass the increase in boot-framework.oat_bytes and services.odex_bytes as it is justfiled by the other improvements in startup time and memory
=Generation Strategy=
method_threshold: 0.44
image_class_threshold: 0.35
preloaded_classes_threshold: 0.56
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.05
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.06285714
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.05
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.06285714
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.05
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.06285714
}
priority_packages_thresholds {
key: "service-uwb.jar.prof:CLASS:android"
value: 0.05
}
priority_packages_thresholds {
key: "service-uwb.jar.prof:METHOD:android"
value: 0.06285714
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.05
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.06285714
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.05
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.06285714
}
=Profile stats=
Data info:
- total aggregations: 1789
- number of (device types, builds): 156
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 423 added, 72 removed
- totals now: 0 hot methods, 0 methods, 18159 classes
- totals before: 0 hot methods, 0 methods, 17808 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 289, 58, 0, 10621
com.android, 0, 0, 86, 13, 0, 3635
java, 0, 0, 8, 1, 0, 2090
android.view, 0, 0, 17, 4, 0, 1129
android.hardware, 0, 0, 11, 2, 0, 880
android.app, 0, 0, 29, 6, 0, 1200
android.content, 0, 0, 5, 0, 0, 631
android.graphics, 0, 0, 3, 3, 0, 372
android.icu, 0, 0, 2, 1, 0, 1490
android.media, 0, 0, 7, 8, 0, 624
android.net, 0, 0, 1, 10, 0, 207
android.widget, 0, 0, 2, 1, 0, 425
File boot-image-profile.txt
- hot methods: 673 added, 99 removed
- methods: 1058 added, 99 removed
- classes: 390 added, 64 removed
- totals now: 22898 hot methods, 23283 methods, 14965 classes
- totals before: 22324 hot methods, 22324 methods, 14639 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 600, 98, 309, 50, 21336, 10653
com.android, 73, 1, 66, 13, 1465, 3208
android.view, 133, 6, 22, 6, 3486, 1136
android.hardware, 13, 3, 13, 0, 476, 884
android.animation, 7, 2, 0, 0, 418, 89
android.app, 143, 36, 34, 6, 3019, 1209
android.content, 23, 5, 5, 1, 1924, 633
android.graphics, 11, 3, 5, 0, 1982, 377
android.icu, 22, 1, 2, 0, 2097, 1491
android.media, 0, 5, 6, 5, 785, 631
android.net, 8, 4, 0, 11, 253, 207
android.widget, 2, 0, 2, 1, 1401, 426
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 365 added, 69 removed
- totals now: 0 hot methods, 0 methods, 14883 classes
- totals before: 0 hot methods, 0 methods, 14587 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 288, 58, 0, 10588
com.android, 0, 0, 63, 11, 0, 3194
android.view, 0, 0, 17, 4, 0, 1129
android.hardware, 0, 0, 11, 2, 0, 880
android.app, 0, 0, 29, 6, 0, 1200
android.content, 0, 0, 5, 0, 0, 631
android.graphics, 0, 0, 3, 3, 0, 372
android.icu, 0, 0, 2, 1, 0, 1490
android.media, 0, 0, 7, 8, 0, 624
android.net, 0, 0, 1, 10, 0, 207
android.widget, 0, 0, 2, 1, 0, 425
File art-profile
- hot methods: 885 added, 681 removed
- methods: 885 added, 681 removed
- classes: 11 added, 1643 removed
- totals now: 4344 hot methods, 4344 methods, 65 classes
- totals before: 4140 hot methods, 4140 methods, 1697 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 1, 5, 17, 20, 5
com.android, 885, 680, 6, 1592, 4324, 60
android.hardware, 0, 1, 0, 8, 17, 0
android.app, 0, 0, 2, 0, 0, 2
android.content, 0, 0, 1, 3, 1, 1
android.net, 0, 0, 0, 3, 2, 0
InternalReferenceRawProfileId: 54227
InternalReferenceCandidateProfileId: 54235
Test: build & benchmark
Change-Id: I6f7b112e372a08ba9fd660c1c50787e2a9d3fc98
|
|
Introduce Vibrator APIs to start vendor vibration sessions.
Vendor sessions will play vibration requests without resetting the
vibrator hardware state, allowing the vendor to customize the behaviour
between vibrations.
Vibration sessions can be ended by the client app or by the vibrator
service, allowing higher priority vibrations (e.g. ringtone, alarms) to
take control of the vibrator and play as usual.
Bug: 345414356
Test: FrameworksVibratorServicesTests
Flag: android.os.vibrator.vendor_vibration_effects
Change-Id: Id749cc240201bf398526c2416d5767a364b86cbf
|
|
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
Change-Id: Id6e9863dbeef2bc9ea4d8855e5d640dd81d16f8e
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:39982&f=CandidateName:in:39985
= Perf stats =
(lower is better)
Regular update to the boot image profiles. Benchmark shows a code size reduction of 0.5MB and improvements in App-memory and system-memory with a tiny improvement in boot Time.
Avg % [Confidence interval min-max %]
App Startup: 0.42 [-1.59, 2.42]
App RSS: -0.49 [-1.15, 0.16]
App Anon RSS + Swap: -0.75 [-2.04, 0.53]
Memory(PSS): -0.25 [-1.1, 0.61]
Memory(RSS): -0.49 [-1.09, 0.12]
Memory(Private-dirty): -2.6 [-4.54, -0.66]
Boot time: -0.57 [-1.44, 0.3]
Code size: -0.50MB (-0.607%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.82
image_class_threshold: 0.37
preloaded_classes_threshold: 0.58
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.026428571
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.058571428
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.026428571
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.058571428
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.026428571
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.058571428
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.026428571
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.058571428
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.026428571
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.058571428
}
=Profile stats=
Data info:
- total aggregations: 1873
- number of (device types, builds): 245
File boot-image-profile.txt
- hot methods: 610 added, 615 removed
- methods: 610 added, 615 removed
- classes: 17 added, 15 removed
- totals now: 32511 hot methods, 32511 methods, 17851 classes
- totals before: 32516 hot methods, 32516 methods, 17849 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 575, 574, 8, 10, 20958, 10421
com.android, 17, 23, 6, 4, 2320, 3538
java, 9, 9, 2, 1, 7241, 2131
android.view, 160, 164, 1, 0, 3394, 1148
android.hardware, 3, 1, 0, 0, 471, 873
android.animation, 46, 46, 0, 0, 413, 89
android.app, 35, 35, 0, 2, 2923, 1183
android.content, 74, 71, 0, 0, 1908, 635
android.graphics, 76, 76, 3, 0, 1974, 374
android.icu, 19, 19, 0, 0, 2043, 1497
android.media, 0, 0, 2, 0, 792, 637
android.net, 7, 7, 0, 0, 252, 222
android.widget, 77, 77, 0, 0, 1403, 445
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 33 added, 24 removed
- totals now: 0 hot methods, 0 methods, 17762 classes
- totals before: 0 hot methods, 0 methods, 17753 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 21, 14, 0, 10372
com.android, 0, 0, 6, 5, 0, 3515
java, 0, 0, 5, 5, 0, 2118
android.view, 0, 0, 2, 3, 0, 1142
android.hardware, 0, 0, 2, 0, 0, 873
android.app, 0, 0, 1, 2, 0, 1180
android.content, 0, 0, 0, 1, 0, 632
android.graphics, 0, 0, 0, 3, 0, 368
android.icu, 0, 0, 11, 0, 0, 1497
android.media, 0, 0, 2, 0, 0, 628
File boot-image-profile.txt
- hot methods: 601 added, 606 removed
- methods: 601 added, 606 removed
- classes: 14 added, 14 removed
- totals now: 22381 hot methods, 22381 methods, 14605 classes
- totals before: 22386 hot methods, 22386 methods, 14605 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 575, 574, 8, 10, 20894, 10390
com.android, 17, 23, 5, 4, 1390, 3125
android.view, 160, 164, 1, 0, 3394, 1148
android.hardware, 3, 1, 0, 0, 471, 873
android.animation, 46, 46, 0, 0, 413, 89
android.app, 35, 35, 0, 2, 2923, 1183
android.content, 74, 71, 0, 0, 1908, 635
android.graphics, 76, 76, 3, 0, 1974, 374
android.icu, 19, 19, 0, 0, 2043, 1497
android.media, 0, 0, 2, 0, 792, 637
android.net, 7, 7, 0, 0, 252, 222
android.widget, 77, 77, 0, 0, 1403, 445
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 26 added, 19 removed
- totals now: 0 hot methods, 0 methods, 14530 classes
- totals before: 0 hot methods, 0 methods, 14523 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 21, 14, 0, 10341
com.android, 0, 0, 4, 5, 0, 3102
android.view, 0, 0, 2, 3, 0, 1142
android.hardware, 0, 0, 2, 0, 0, 873
android.app, 0, 0, 1, 2, 0, 1180
android.content, 0, 0, 0, 1, 0, 632
android.graphics, 0, 0, 0, 3, 0, 368
android.icu, 0, 0, 11, 0, 0, 1497
android.media, 0, 0, 2, 0, 0, 628
File art-profile
- hot methods: 1774 added, 2504 removed
- methods: 1774 added, 2504 removed
- classes: 7 added, 3 removed
- totals now: 3950 hot methods, 3950 methods, 82 classes
- totals before: 4680 hot methods, 4680 methods, 78 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3, 4, 1, 1, 21, 1
com.android, 1771, 2500, 6, 2, 3929, 81
android.hardware, 3, 4, 0, 1, 18, 0
InternalReferenceRawProfileId: 39982
InternalReferenceCandidateProfileId: 39985
Test: build & benchmark
Change-Id: I984aa7fffa8d68fc315124699e64de1a8cba2993
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:39887&f=CandidateName:in:39896
= Perf stats =
(lower is better)
Regular update to the boot image profiles. Benchmark shows a great code size reduction of 3.3MB and improvement in App-memory and system-memory with almost no impact on startup time and boot Time.
Avg % [Confidence interval min-max %]
App Startup: 0.31 [-2.42, 3.04]
App RSS: -0.62 [-1.48, 0.25]
App Anon RSS + Swap: -1.86 [-3.46, -0.27]
Memory(PSS): -1.74 [-3.78, 0.29]
Memory(RSS): -0.06 [-0.72, 0.6]
Memory(Private-dirty): -3.52 [-5.99, -1.05]
Boot time: 0.35 [-0.8, 1.5]
Code size: -3.36 MB (-3.93%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.84
image_class_threshold: 0.39
preloaded_classes_threshold: 0.6
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.027857142
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.06
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.027857142
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.06
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.027857142
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.06
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.027857142
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.06
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.027857142
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.06
}
=Profile stats=
Data info:
- total aggregations: 1790
- number of (device types, builds): 234
File boot-image-profile.txt
- hot methods: 1031 added, 1140 removed
- methods: 1031 added, 1140 removed
- classes: 153 added, 57 removed
- totals now: 32516 hot methods, 32516 methods, 17849 classes
- totals before: 32625 hot methods, 32625 methods, 17753 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 943, 1038, 79, 47, 20957, 10423
com.android, 52, 68, 40, 8, 2326, 3536
java, 31, 29, 19, 1, 7241, 2130
android.view, 199, 216, 9, 2, 3398, 1147
android.hardware, 1, 16, 4, 9, 469, 873
android.animation, 63, 63, 0, 0, 413, 89
android.app, 56, 69, 15, 8, 2923, 1185
android.content, 71, 82, 2, 8, 1905, 635
android.graphics, 88, 89, 0, 0, 1974, 371
android.icu, 86, 91, 19, 7, 2043, 1497
android.media, 12, 12, 4, 2, 792, 635
android.net, 22, 22, 0, 0, 252, 222
android.widget, 62, 63, 2, 0, 1403, 445
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 168 added, 70 removed
- totals now: 0 hot methods, 0 methods, 17753 classes
- totals before: 0 hot methods, 0 methods, 17655 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 80, 54, 0, 10365
com.android, 0, 0, 49, 15, 0, 3514
java, 0, 0, 20, 0, 0, 2118
android.view, 0, 0, 16, 3, 0, 1143
android.hardware, 0, 0, 4, 10, 0, 871
android.app, 0, 0, 14, 6, 0, 1181
android.content, 0, 0, 3, 7, 0, 633
android.icu, 0, 0, 8, 7, 0, 1486
android.media, 0, 0, 2, 3, 0, 626
android.net, 0, 0, 0, 1, 0, 221
android.widget, 0, 0, 3, 1, 0, 443
File boot-image-profile.txt
- hot methods: 995 added, 1106 removed
- methods: 995 added, 1106 removed
- classes: 119 added, 56 removed
- totals now: 22386 hot methods, 22386 methods, 14605 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, 943, 1038, 79, 47, 20893, 10392
com.android, 52, 68, 37, 8, 1396, 3124
java, 0, 0, 0, 1, 2, 114
android.view, 199, 216, 9, 2, 3398, 1147
android.hardware, 1, 16, 4, 9, 469, 873
android.animation, 63, 63, 0, 0, 413, 89
android.app, 56, 69, 15, 8, 2923, 1185
android.content, 71, 82, 2, 8, 1905, 635
android.graphics, 88, 89, 0, 0, 1974, 371
android.icu, 86, 91, 19, 7, 2043, 1497
android.media, 12, 12, 4, 2, 792, 635
android.net, 22, 22, 0, 0, 252, 222
android.widget, 62, 63, 2, 0, 1403, 445
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 128 added, 70 removed
- totals now: 0 hot methods, 0 methods, 14523 classes
- totals before: 0 hot methods, 0 methods, 14465 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 80, 54, 0, 10334
com.android, 0, 0, 46, 15, 0, 3103
java, 0, 0, 0, 1, 0, 114
android.view, 0, 0, 16, 3, 0, 1143
android.hardware, 0, 0, 4, 10, 0, 871
android.app, 0, 0, 14, 6, 0, 1181
android.content, 0, 0, 3, 7, 0, 633
android.icu, 0, 0, 8, 7, 0, 1486
android.media, 0, 0, 2, 3, 0, 626
android.net, 0, 0, 0, 1, 0, 221
android.widget, 0, 0, 3, 1, 0, 443
File art-profile
- hot methods: 1362 added, 5742 removed
- methods: 1362 added, 5742 removed
- classes: 26 added, 5 removed
- totals now: 4680 hot methods, 4680 methods, 78 classes
- totals before: 9060 hot methods, 9060 methods, 57 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 4, 29, 1, 0, 22, 1
com.android, 1358, 5713, 25, 4, 4658, 77
java, 0, 0, 0, 1, 0, 0
android.hardware, 3, 26, 1, 0, 19, 1
android.net, 1, 3, 0, 0, 2, 0
InternalReferenceRawProfileId: 39887
InternalReferenceCandidateProfileId: 39896
Test: build & benchmark
Change-Id: If7d2699a79a04490dc1b82537456da5022edea2e
|
|
Bug: 254051423
Bug: 324079793
Test: go/art-benchmark?p=BootImageProfileId:38926&f=CandidateName:in:38933
= Perf stats =
(lower is better)
Regular update to the boot image profiles which considers the latest changes in the ART module code instead of depending on the released mainline trains only. Benchmark shows a tiny improvement in App's startup time and Anon RSS+Swap and good improvement in system memory PSS and Private-dirty and almost no impact on boot Time, with a good reduction in code size.
Avg % [Confidence interval min-max %]
App Startup: -0.44 [-2.79, 1.9]
App Anon RSS + Swap: -0.83 [-1.92, 0.25]
Memory(PSS): -1.4 [-4.28, 1.48]
Memory(Private-dirty): -4.48 [-13.31, 4.34]
Boot time: 0.47 [-0.68, 1.62]
Code size: -0.79MB (-0.92%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.46
image_class_threshold: 0.41
preloaded_classes_threshold: 0.62
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.029285714
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.032857142
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.029285714
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.032857142
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.029285714
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.032857142
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.029285714
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.032857142
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.029285714
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.032857142
}
=Profile stats=
Data info:
- total aggregations: 2263
- number of (device types, builds): 169
File boot-image-profile.txt
- hot methods: 1427 added, 1398 removed
- methods: 1427 added, 1398 removed
- classes: 113 added, 215 removed
- totals now: 32625 hot methods, 32625 methods, 17753 classes
- totals before: 32596 hot methods, 32596 methods, 17855 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 684, 825, 2, 64, 21052, 10391
com.android, 65, 89, 14, 21, 2342, 3504
java, 590, 420, 86, 115, 7239, 2112
android.view, 171, 223, 2, 8, 3415, 1140
android.hardware, 2, 12, 0, 5, 484, 878
android.animation, 59, 59, 0, 0, 413, 89
android.app, 44, 85, 0, 15, 2936, 1178
android.content, 56, 57, 0, 3, 1916, 641
android.graphics, 65, 69, 0, 0, 1975, 371
android.icu, 43, 43, 0, 0, 2048, 1485
android.media, 3, 3, 0, 0, 792, 633
android.net, 8, 8, 0, 6, 252, 222
android.widget, 53, 53, 0, 0, 1404, 443
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 120 added, 214 removed
- totals now: 0 hot methods, 0 methods, 17655 classes
- totals before: 0 hot methods, 0 methods, 17749 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 14, 59, 0, 10339
com.android, 0, 0, 15, 19, 0, 3480
java, 0, 0, 80, 117, 0, 2098
android.view, 0, 0, 1, 4, 0, 1130
android.hardware, 0, 0, 3, 4, 0, 877
android.app, 0, 0, 1, 17, 0, 1173
android.content, 0, 0, 1, 3, 0, 637
android.media, 0, 0, 0, 2, 0, 627
android.net, 0, 0, 0, 6, 0, 222
File boot-image-profile.txt
- hot methods: 723 added, 890 removed
- methods: 723 added, 890 removed
- classes: 2 added, 80 removed
- totals now: 22497 hot methods, 22497 methods, 14542 classes
- totals before: 22664 hot methods, 22664 methods, 14620 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 683, 824, 2, 64, 20988, 10360
com.android, 40, 66, 0, 14, 1412, 3095
java, 0, 0, 0, 1, 2, 115
android.view, 171, 223, 2, 8, 3415, 1140
android.hardware, 2, 12, 0, 5, 484, 878
android.animation, 59, 59, 0, 0, 413, 89
android.app, 44, 85, 0, 15, 2936, 1178
android.content, 56, 57, 0, 3, 1916, 641
android.graphics, 65, 69, 0, 0, 1975, 371
android.icu, 43, 43, 0, 0, 2048, 1485
android.media, 3, 3, 0, 0, 792, 633
android.net, 8, 8, 0, 6, 252, 222
android.widget, 53, 53, 0, 0, 1404, 443
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 15 added, 72 removed
- totals now: 0 hot methods, 0 methods, 14465 classes
- totals before: 0 hot methods, 0 methods, 14522 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 14, 59, 0, 10308
com.android, 0, 0, 1, 11, 0, 3072
java, 0, 0, 0, 1, 0, 115
android.view, 0, 0, 1, 4, 0, 1130
android.hardware, 0, 0, 3, 4, 0, 877
android.app, 0, 0, 1, 17, 0, 1173
android.content, 0, 0, 1, 3, 0, 637
android.media, 0, 0, 0, 2, 0, 627
android.net, 0, 0, 0, 6, 0, 222
File art-profile
- hot methods: 2157 added, 4848 removed
- methods: 2157 added, 4848 removed
- classes: 0 added, 1547 removed
- totals now: 9060 hot methods, 9060 methods, 57 classes
- totals before: 11751 hot methods, 11751 methods, 1604 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 5, 24, 0, 22, 47, 0
com.android, 2152, 4824, 0, 1492, 9013, 56
android.hardware, 4, 12, 0, 8, 42, 0
android.app, 0, 0, 0, 2, 0, 0
android.content, 0, 1, 0, 4, 1, 0
android.net, 1, 7, 0, 3, 4, 0
InternalReferenceRawProfileId: 38926
InternalReferenceCandidateProfileId: 38933
Test: build & benchmark
Change-Id: Icb1d1464ad947837eeb679258af67bc4f0e9ba98
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:38696&f=CandidateName:in:38704
Test: ATP test https://android-build.corp.google.com/abtd/run/L45000030002490953
= Perf stats =
(lower is better)
Regular update to the boot image profiles, Benchmark shows almost no impact on system memory and boot Time, but shows an improvement for apps cold startup time, apps rss memory and a good reduction for code size.
Avg % [Confidence interval min-max %]
App Startup: -1.64 [-3.76, 0.48]
App RSS: -1.49 [-2.32, -0.65]
Memory(PSS): 0.89 [-0.79, 2.57]
Boot time: 0.55 [-0.64, 1.75]
Code size: -0.6MB (-0.66%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.33
image_class_threshold: 0.28
preloaded_classes_threshold: 0.64
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.02
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.02357143
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.02
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.02357143
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.02
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.02357143
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.02
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.02357143
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.02
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.02357143
}
=Profile stats=
Data info:
- total aggregations: 377
- number of (device types, builds): 105
File boot-image-profile.txt
- hot methods: 1152 added, 879 removed
- methods: 1152 added, 879 removed
- classes: 298 added, 64 removed
- totals now: 32596 hot methods, 32596 methods, 17855 classes
- totals before: 32323 hot methods, 32323 methods, 17621 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 628, 400, 232, 41, 21193, 10453
com.android, 76, 44, 56, 12, 2366, 3511
java, 383, 371, 4, 6, 7069, 2141
android.view, 102, 49, 42, 0, 3467, 1146
android.hardware, 14, 10, 17, 3, 494, 883
android.animation, 14, 14, 1, 0, 413, 89
android.app, 70, 20, 29, 0, 2977, 1193
android.content, 61, 34, 19, 0, 1917, 644
android.graphics, 17, 11, 4, 4, 1979, 371
android.icu, 45, 45, 1, 15, 2048, 1485
android.media, 9, 9, 7, 0, 792, 633
android.net, 16, 15, 0, 0, 252, 228
android.widget, 12, 12, 11, 0, 1404, 443
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 654 added, 63 removed
- totals now: 0 hot methods, 0 methods, 17750 classes
- totals before: 0 hot methods, 0 methods, 17159 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 537, 41, 0, 10385
com.android, 0, 0, 56, 12, 0, 3484
java, 0, 0, 44, 6, 0, 2135
android.view, 0, 0, 88, 0, 0, 1134
android.hardware, 0, 0, 24, 3, 0, 878
android.animation, 0, 0, 14, 0, 0, 89
android.app, 0, 0, 81, 0, 0, 1189
android.content, 0, 0, 47, 0, 0, 639
android.graphics, 0, 0, 30, 4, 0, 371
android.icu, 0, 0, 24, 15, 0, 1485
android.media, 0, 0, 26, 0, 0, 629
android.net, 0, 0, 4, 0, 0, 228
android.widget, 0, 0, 45, 0, 0, 441
File boot-image-profile.txt
- hot methods: 683 added, 427 removed
- methods: 683 added, 427 removed
- classes: 294 added, 55 removed
- totals now: 22664 hot methods, 22664 methods, 14620 classes
- totals before: 22408 hot methods, 22408 methods, 14381 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 627, 399, 232, 41, 21129, 10422
com.android, 56, 28, 56, 12, 1438, 3109
java, 0, 0, 1, 0, 2, 116
android.view, 102, 49, 42, 0, 3467, 1146
android.hardware, 14, 10, 17, 3, 494, 883
android.animation, 14, 14, 1, 0, 413, 89
android.app, 70, 20, 29, 0, 2977, 1193
android.content, 61, 34, 19, 0, 1917, 644
android.graphics, 17, 11, 4, 4, 1979, 371
android.icu, 45, 45, 1, 15, 2048, 1485
android.media, 9, 9, 7, 0, 792, 633
android.net, 16, 15, 0, 0, 252, 228
android.widget, 12, 12, 11, 0, 1404, 443
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 591 added, 54 removed
- totals now: 0 hot methods, 0 methods, 14523 classes
- totals before: 0 hot methods, 0 methods, 13986 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 537, 41, 0, 10354
com.android, 0, 0, 48, 12, 0, 3082
java, 0, 0, 1, 0, 0, 116
android.view, 0, 0, 88, 0, 0, 1134
android.hardware, 0, 0, 24, 3, 0, 878
android.animation, 0, 0, 14, 0, 0, 89
android.app, 0, 0, 81, 0, 0, 1189
android.content, 0, 0, 47, 0, 0, 639
android.graphics, 0, 0, 30, 4, 0, 371
android.icu, 0, 0, 24, 15, 0, 1485
android.media, 0, 0, 26, 0, 0, 629
android.net, 0, 0, 4, 0, 0, 228
android.widget, 0, 0, 45, 0, 0, 441
File art-profile
- hot methods: 3026 added, 5535 removed
- methods: 3026 added, 5535 removed
- classes: 276 added, 100 removed
- totals now: 11751 hot methods, 11751 methods, 1604 classes
- totals before: 14260 hot methods, 14260 methods, 1428 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 17, 30, 1, 4, 66, 22
com.android, 3009, 5499, 268, 94, 11685, 1548
java, 0, 0, 1, 0, 0, 1
android.hardware, 16, 29, 0, 4, 50, 8
android.content, 0, 0, 1, 0, 2, 4
android.net, 1, 1, 0, 0, 10, 3
InternalReferenceRawProfileId: 38696
InternalReferenceCandidateProfileId: 38704
Test: build & benchmark
Change-Id: I4053e27e32e350030cdffb47fbeb04f43e94ef8e
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:37886&f=CandidateName:in:37892
Test: ATP test https://android-build.googleplex.com/builds/abtd/run/L00700030001838546
= Perf stats =
(lower is better)
Regular update to the boot image profiles, Benchmark shows almost no impact on app cold startup time, boot-time and memory besides some code size reduction.
Avg % [Confidence interval min-max %]
Startup: -0.66 [-2.97, 1.64]
Memory(PSS): 0.65 [-1.65, 2.97]
Boot time: 0.14 [-1.27, 1.55]
Code size (.oat + .art + .odex): -0.19MB (-0.22%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.31
image_class_threshold: 0.26
preloaded_classes_threshold: 0.62
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.022142857
}
=Profile stats=
Data info:
- total aggregations: 21
- number of (device types, builds): 8
File boot-image-profile.txt
- hot methods: 3096 added, 3337 removed
- methods: 3096 added, 3337 removed
- classes: 445 added, 92 removed
- totals now: 32323 hot methods, 32323 methods, 17621 classes
- totals before: 32564 hot methods, 32564 methods, 17268 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1827, 1941, 366, 54, 20965, 10262
com.android, 137, 229, 23, 37, 2334, 3467
java, 889, 923, 43, 1, 7057, 2143
android.view, 352, 389, 56, 10, 3414, 1104
android.hardware, 20, 26, 11, 1, 490, 869
android.animation, 21, 19, 6, 0, 413, 88
android.app, 119, 146, 56, 0, 2927, 1164
android.content, 193, 196, 40, 0, 1890, 625
android.graphics, 160, 161, 26, 0, 1973, 371
android.icu, 233, 233, 25, 0, 2048, 1499
android.media, 19, 19, 22, 0, 792, 626
android.net, 40, 41, 8, 0, 251, 228
android.widget, 149, 148, 35, 0, 1404, 432
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 25 added, 92 removed
- totals now: 0 hot methods, 0 methods, 17159 classes
- totals before: 0 hot methods, 0 methods, 17226 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 23, 54, 0, 9889
com.android, 0, 0, 2, 37, 0, 3440
java, 0, 0, 0, 1, 0, 2097
android.view, 0, 0, 0, 10, 0, 1046
android.hardware, 0, 0, 0, 1, 0, 857
android.app, 0, 0, 1, 0, 0, 1108
android.content, 0, 0, 9, 0, 0, 592
android.icu, 0, 0, 2, 0, 0, 1476
android.media, 0, 0, 2, 0, 0, 603
android.net, 0, 0, 4, 0, 0, 224
File boot-image-profile.txt
- hot methods: 1925 added, 2028 removed
- methods: 1925 added, 2028 removed
- classes: 382 added, 56 removed
- totals now: 22408 hot methods, 22408 methods, 14381 classes
- totals before: 22511 hot methods, 22511 methods, 14055 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1828, 1925, 366, 54, 20901, 10231
com.android, 97, 103, 15, 2, 1410, 3065
android.view, 357, 392, 56, 10, 3414, 1104
android.hardware, 20, 26, 11, 1, 490, 869
android.animation, 19, 17, 6, 0, 413, 88
android.app, 118, 143, 56, 0, 2927, 1164
android.content, 194, 196, 40, 0, 1890, 625
android.graphics, 160, 161, 26, 0, 1973, 371
android.icu, 233, 234, 25, 0, 2048, 1499
android.media, 18, 18, 22, 0, 792, 626
android.net, 41, 42, 8, 0, 251, 228
android.widget, 149, 149, 35, 0, 1404, 432
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 23 added, 56 removed
- totals now: 0 hot methods, 0 methods, 13986 classes
- totals before: 0 hot methods, 0 methods, 14019 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 21, 54, 0, 9858
com.android, 0, 0, 2, 2, 0, 3046
android.view, 0, 0, 0, 10, 0, 1046
android.hardware, 0, 0, 0, 1, 0, 857
android.app, 0, 0, 1, 0, 0, 1108
android.content, 0, 0, 9, 0, 0, 592
android.icu, 0, 0, 2, 0, 0, 1476
android.media, 0, 0, 2, 0, 0, 603
android.net, 0, 0, 4, 0, 0, 224
File art-profile
- hot methods: 2917 added, 2661 removed
- methods: 2917 added, 2661 removed
- classes: 15 added, 81 removed
- totals now: 14260 hot methods, 14260 methods, 1428 classes
- totals before: 14004 hot methods, 14004 methods, 1494 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 10, 17, 0, 0, 79, 25
com.android, 2901, 2644, 14, 79, 14175, 1374
android.hardware, 10, 17, 0, 0, 63, 12
InternalReferenceRawProfileId: 37886
InternalReferenceCandidateProfileId: 37892
Test: build & benchmark
Change-Id: I4fffd2b2601f09a3b0acfdcdaebb0e2d6768fe64
|
|
Bug: 254051423
Bug: 303356546
Bug: 303339619
Bug: 303378282
Bug: 303394972
Test: go/art-benchmark?p=BootImageProfileId:36833&f=CandidateName:in:36861
Test: ATP test https://android-build.googleplex.com/builds/abtd/run/L85800030000096758
= Perf stats =
(lower is better)
Regular update to the boot image profiles, Benchmark shows an no impact on app cold startup time, boot-time and good memory reduction for system-server process besides fixing some regressions from the prev update, but with a small increase in code size which could be an acceptable cost.
Avg % [Confidence interval min-max %]
Startup: -0.14 [-2.34, 2.06]
Memory(PSS): -0.15 [-1.82, 1.51]
Boot time: 0.19 [-0.68, 1.06]
Code size (.oat + .art + .odex): 0.88MB (1.06%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.29
image_class_threshold: 0.24
preloaded_classes_threshold: 0.6
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.017142856
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.020714285
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.017142856
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.020714285
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.017142856
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.020714285
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.017142856
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.020714285
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.017142856
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.020714285
}
=Profile stats=
Data info:
- total aggregations: 50
- number of (device types, builds): 18
File boot-image-profile.txt
- hot methods: 201 added, 225 removed
- methods: 201 added, 225 removed
- classes: 0 added, 2 removed
- totals now: 32532 hot methods, 32532 methods, 17268 classes
- totals before: 32556 hot methods, 32556 methods, 17270 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 137, 154, 0, 2, 21053, 9950
com.android, 8, 9, 0, 0, 2425, 3481
java, 40, 47, 0, 0, 7086, 2101
android.view, 62, 66, 0, 0, 3444, 1058
android.hardware, 3, 9, 0, 0, 495, 859
android.app, 6, 8, 0, 0, 2952, 1108
android.content, 11, 12, 0, 0, 1892, 585
android.graphics, 8, 8, 0, 0, 1973, 345
android.icu, 10, 10, 0, 0, 2048, 1474
android.media, 1, 1, 0, 0, 792, 604
android.widget, 14, 15, 0, 2, 1403, 397
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 14 added, 2 removed
- totals now: 0 hot methods, 0 methods, 17228 classes
- totals before: 0 hot methods, 0 methods, 17216 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 14, 2, 0, 9922
android.view, 0, 0, 9, 0, 0, 1056
android.app, 0, 0, 3, 0, 0, 1107
android.content, 0, 0, 1, 0, 0, 583
android.widget, 0, 0, 1, 2, 0, 396
File boot-image-profile.txt
- hot methods: 144 added, 162 removed
- methods: 144 added, 162 removed
- classes: 0 added, 2 removed
- totals now: 22501 hot methods, 22501 methods, 14055 classes
- totals before: 22519 hot methods, 22519 methods, 14057 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 137, 154, 0, 2, 20989, 9919
com.android, 7, 8, 0, 0, 1415, 3052
android.view, 62, 66, 0, 0, 3444, 1058
android.hardware, 3, 9, 0, 0, 495, 859
android.app, 6, 8, 0, 0, 2952, 1108
android.content, 11, 12, 0, 0, 1892, 585
android.graphics, 8, 8, 0, 0, 1973, 345
android.icu, 10, 10, 0, 0, 2048, 1474
android.media, 1, 1, 0, 0, 792, 604
android.widget, 14, 15, 0, 2, 1403, 397
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 14 added, 2 removed
- totals now: 0 hot methods, 0 methods, 14019 classes
- totals before: 0 hot methods, 0 methods, 14007 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 14, 2, 0, 9891
android.view, 0, 0, 9, 0, 0, 1056
android.app, 0, 0, 3, 0, 0, 1107
android.content, 0, 0, 1, 0, 0, 583
android.widget, 0, 0, 1, 2, 0, 396
File art-profile
- hot methods: 2073 added, 821 removed
- methods: 2073 added, 821 removed
- classes: 10 added, 2 removed
- totals now: 14004 hot methods, 14004 methods, 1494 classes
- totals before: 12752 hot methods, 12752 methods, 1486 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 21, 26, 0, 0, 86, 25
com.android, 2052, 795, 9, 2, 13918, 1439
android.hardware, 20, 25, 0, 0, 70, 12
android.net, 1, 1, 0, 0, 10, 3
InternalReferenceRawProfileId: 36833
InternalReferenceCandidateProfileId: 36861
Test: build & benchmark
Change-Id: If26794e3e9e3605a8059e846472c300f289dba0e
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:36711&f=CandidateName:in:36720
Test: ATP test https://android-build.googleplex.com/builds/abtd/run/L47100000963607173
= Perf stats =
(lower is better)
Regular update to the boot image profiles, Benchmark shows an improvement in app cold startup time and good code size reduction, besides no noticeable impact on memory and boot time. This change also will resolve some of the regressions from the prev updates.
Avg % [Confidence interval min-max %]
Startup: -1.37 [-2.51, -0.23]
Memory(PSS): -0.13 [-2.38, 2.13]
Boot time: 0.09 [-0.9, 1.09]
Code size (.oat + .art + .odex): -0.61MB (-0.73%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.27
image_class_threshold: 0.22
preloaded_classes_threshold: 0.58
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.015714286
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.019285714
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.015714286
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.019285714
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.015714286
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.019285714
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.015714286
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.019285714
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.015714286
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.019285714
}
=Profile stats=
Data info:
- total aggregations: 84
- number of (device types, builds): 28
File boot-image-profile.txt
- hot methods: 157 added, 87 removed
- methods: 157 added, 87 removed
- classes: 15 added, 9 removed
- totals now: 32556 hot methods, 32556 methods, 17270 classes
- totals before: 32486 hot methods, 32486 methods, 17264 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 120, 48, 15, 8, 21070, 9952
java, 37, 38, 0, 0, 7093, 2101
android.view, 41, 10, 7, 1, 3448, 1058
android.hardware, 8, 4, 0, 0, 501, 859
android.animation, 14, 0, 7, 0, 411, 82
android.app, 17, 5, 1, 0, 2954, 1108
android.content, 16, 11, 0, 0, 1893, 585
android.graphics, 5, 0, 0, 0, 1973, 345
android.widget, 2, 0, 0, 0, 1404, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 30 added, 10 removed
- totals now: 0 hot methods, 0 methods, 17216 classes
- totals before: 0 hot methods, 0 methods, 17196 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 23, 9, 0, 9910
com.android, 0, 0, 6, 0, 0, 3475
java, 0, 0, 1, 0, 0, 2098
android.view, 0, 0, 6, 0, 0, 1047
android.hardware, 0, 0, 5, 0, 0, 858
android.animation, 0, 0, 2, 0, 0, 75
android.app, 0, 0, 6, 0, 0, 1104
android.media, 0, 0, 1, 0, 0, 601
File boot-image-profile.txt
- hot methods: 120 added, 48 removed
- methods: 120 added, 48 removed
- classes: 15 added, 10 removed
- totals now: 22519 hot methods, 22519 methods, 14057 classes
- totals before: 22447 hot methods, 22447 methods, 14052 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 120, 48, 15, 8, 21006, 9921
java, 0, 0, 0, 1, 2, 115
android.view, 41, 10, 7, 1, 3448, 1058
android.hardware, 8, 4, 0, 0, 501, 859
android.animation, 14, 0, 7, 0, 411, 82
android.app, 17, 5, 1, 0, 2954, 1108
android.content, 16, 11, 0, 0, 1893, 585
android.graphics, 5, 0, 0, 0, 1973, 345
android.widget, 2, 0, 0, 0, 1404, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 29 added, 9 removed
- totals now: 0 hot methods, 0 methods, 14007 classes
- totals before: 0 hot methods, 0 methods, 13987 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 23, 7, 0, 9879
com.android, 0, 0, 6, 0, 0, 3046
java, 0, 0, 0, 1, 0, 115
android.view, 0, 0, 6, 0, 0, 1047
android.hardware, 0, 0, 5, 0, 0, 858
android.animation, 0, 0, 2, 0, 0, 75
android.app, 0, 0, 6, 0, 0, 1104
android.media, 0, 0, 1, 0, 0, 601
File art-profile
- hot methods: 2492 added, 4332 removed
- methods: 2492 added, 4332 removed
- classes: 11 added, 1219 removed
- totals now: 12752 hot methods, 12752 methods, 1486 classes
- totals before: 14592 hot methods, 14592 methods, 2694 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 30, 30, 1, 21, 91, 25
com.android, 2462, 4302, 10, 1181, 12661, 1432
android.hardware, 28, 29, 0, 17, 75, 12
android.app, 0, 1, 0, 2, 0, 2
android.content, 0, 0, 0, 1, 2, 3
android.net, 2, 0, 0, 0, 10, 3
InternalReferenceRawProfileId: 36711
InternalReferenceCandidateProfileId: 36720
Test: build & benchmark
Change-Id: Ibd13bc54c1fd8927030d41f3670021379ebaccc8
|
|
Bug: 254051423
Bug: 299558523
Bug: 299514114
Bug: 299595206
Bug: 299572243
Test: go/art-benchmark?p=BootImageProfileId:36420&f=CandidateName:in:36422
Test: ATP test https://android-build.googleplex.com/builds/abtd/run/L12500000963261237
= Perf stats =
(lower is better)
Regular update to the boot image profiles, Benchmark shows an improvement in boot time and great code size reduction, besides no noticeable impact on memory and startup time. This change also will resolve some of the regressions from the prev updates.
Avg % (Confidence interval min-max %)
Startup: 0.12 (-1.19 -> 1.43)
Memory(PSS): -0.53 (-2.16 -> 1.1)
Boot time: -1.09 (-1.8 -> -0.38)
Code size (.oat + .art + .odex): -0.51MB (-0.62%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.25
image_class_threshold: 0.2
preloaded_classes_threshold: 0.56
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.014285714
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.017857144
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.014285714
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.017857144
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.014285714
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.017857144
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.014285714
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.017857144
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.014285714
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.017857144
}
=Profile stats=
Data info:
- total aggregations: 31
- number of (device types, builds): 16
File boot-image-profile.txt
- hot methods: 3145 added, 3473 removed
- methods: 3145 added, 3473 removed
- classes: 24 added, 123 removed
- totals now: 32486 hot methods, 32486 methods, 17264 classes
- totals before: 32814 hot methods, 32814 methods, 17363 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1842, 2107, 20, 122, 20998, 9945
com.android, 146, 181, 4, 1, 2426, 3481
java, 917, 944, 0, 0, 7094, 2101
android.view, 348, 422, 7, 2, 3417, 1052
android.hardware, 18, 29, 1, 0, 497, 859
android.animation, 17, 34, 0, 7, 397, 75
android.app, 136, 140, 8, 0, 2942, 1107
android.content, 196, 200, 1, 0, 1888, 585
android.graphics, 158, 165, 0, 0, 1968, 345
android.icu, 232, 239, 0, 0, 2048, 1474
android.media, 19, 20, 0, 0, 792, 604
android.net, 44, 43, 0, 1, 252, 220
android.widget, 147, 154, 1, 1, 1402, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 139 removed
- totals now: 0 hot methods, 0 methods, 17194 classes
- totals before: 0 hot methods, 0 methods, 17333 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 135, 0, 9894
com.android, 0, 0, 0, 3, 0, 3469
java, 0, 0, 0, 1, 0, 2097
android.view, 0, 0, 0, 6, 0, 1041
android.hardware, 0, 0, 0, 4, 0, 853
android.animation, 0, 0, 0, 9, 0, 73
android.media, 0, 0, 0, 1, 0, 600
android.net, 0, 0, 0, 1, 0, 220
android.widget, 0, 0, 0, 1, 0, 397
File boot-image-profile.txt
- hot methods: 1938 added, 2238 removed
- methods: 1938 added, 2238 removed
- classes: 24 added, 125 removed
- totals now: 22447 hot methods, 22447 methods, 14052 classes
- totals before: 22747 hot methods, 22747 methods, 14153 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1838, 2103, 20, 122, 20934, 9914
com.android, 100, 135, 4, 1, 1416, 3052
java, 0, 0, 0, 2, 2, 116
android.view, 348, 422, 7, 2, 3417, 1052
android.hardware, 18, 29, 1, 0, 497, 859
android.animation, 17, 34, 0, 7, 397, 75
android.app, 136, 140, 8, 0, 2942, 1107
android.content, 196, 200, 1, 0, 1888, 585
android.graphics, 158, 165, 0, 0, 1968, 345
android.icu, 232, 239, 0, 0, 2048, 1474
android.media, 19, 20, 0, 0, 792, 604
android.net, 44, 43, 0, 1, 252, 220
android.widget, 147, 154, 1, 1, 1402, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 140 removed
- totals now: 0 hot methods, 0 methods, 13987 classes
- totals before: 0 hot methods, 0 methods, 14127 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 135, 0, 9863
com.android, 0, 0, 0, 3, 0, 3040
java, 0, 0, 0, 2, 0, 116
android.view, 0, 0, 0, 6, 0, 1041
android.hardware, 0, 0, 0, 4, 0, 853
android.animation, 0, 0, 0, 9, 0, 73
android.media, 0, 0, 0, 1, 0, 600
android.net, 0, 0, 0, 1, 0, 220
android.widget, 0, 0, 0, 1, 0, 397
File art-profile
- hot methods: 5705 added, 3202 removed
- methods: 5705 added, 3202 removed
- classes: 1243 added, 14 removed
- totals now: 14592 hot methods, 14592 methods, 2694 classes
- totals before: 12089 hot methods, 12089 methods, 1465 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 46, 21, 21, 8, 91, 45
com.android, 5659, 3181, 1205, 5, 14501, 2603
java, 0, 0, 0, 1, 0, 0
android.hardware, 45, 19, 17, 1, 76, 29
android.app, 1, 0, 2, 0, 1, 4
android.content, 0, 0, 1, 1, 2, 4
android.net, 0, 2, 0, 0, 8, 3
InternalReferenceRawProfileId: 36420
InternalReferenceCandidateProfileId: 36422
Test: build & benchmark
Change-Id: Ia2d60e41a204ef584c4a1ef91759e97ce37813ce
|
|
Bug: 254051423
Bug: 294603422
Test: go/art-benchmark?p=BootImageProfileId:36349
Test: ATP test http://shortn/_aT2kwyTb9i
= Perf stats =
(lower is better)
Regular update to the boot image profiles, which is adding some missing inline cache to the boot image profiles. Benchmark shows slight improvement in startup time, memory and no noticeable impact on the total boot time, with a very small increase in code size which could be an acceptable cost.
Avg % (Confidence interval min-max %)
Startup: -0.35% (-1.57 -> 0.87)
Memory(PSS): -0.85% (-2.26 -> 0.55)
Boot time: 0.11 (-4.85% -> 5.08)
Code size (.oat + .art + .odex): 0.02MB (0.02%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.31
image_class_threshold: 0.26
preloaded_classes_threshold: 0.62
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.022142857
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.018571427
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.022142857
}
=Profile stats=
Data info:
- total aggregations: 5691
- number of (device types, builds): 136
File boot-image-profile.txt
- hot methods: 2140 added, 2289 removed
- methods: 2140 added, 2289 removed
- classes: 1 added, 4 removed
- totals now: 32814 hot methods, 32814 methods, 17363 classes
- totals before: 32963 hot methods, 32963 methods, 17366 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1354, 1481, 1, 1, 21263, 10047
com.android, 106, 117, 0, 1, 2461, 3478
java, 508, 513, 0, 1, 7121, 2101
android.view, 249, 272, 0, 0, 3491, 1047
android.hardware, 14, 27, 0, 0, 508, 858
android.animation, 28, 29, 0, 0, 414, 82
android.app, 85, 112, 0, 0, 2946, 1099
android.content, 137, 143, 0, 0, 1892, 584
android.graphics, 138, 142, 0, 0, 1975, 345
android.icu, 196, 205, 0, 0, 2055, 1474
android.media, 31, 32, 0, 0, 793, 604
android.net, 17, 18, 1, 0, 251, 221
android.widget, 139, 147, 0, 0, 1409, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 1 added, 1 removed
- totals now: 0 hot methods, 0 methods, 17333 classes
- totals before: 0 hot methods, 0 methods, 17333 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 1, 0, 0, 10029
com.android, 0, 0, 0, 1, 0, 3472
android.net, 0, 0, 1, 0, 0, 221
File boot-image-profile.txt
- hot methods: 1426 added, 1564 removed
- methods: 1426 added, 1564 removed
- classes: 1 added, 2 removed
- totals now: 22747 hot methods, 22747 methods, 14153 classes
- totals before: 22885 hot methods, 22885 methods, 14154 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1350, 1477, 1, 1, 21199, 10016
com.android, 76, 87, 0, 1, 1451, 3049
android.view, 249, 272, 0, 0, 3491, 1047
android.hardware, 14, 27, 0, 0, 508, 858
android.animation, 28, 29, 0, 0, 414, 82
android.app, 85, 112, 0, 0, 2946, 1099
android.content, 137, 143, 0, 0, 1892, 584
android.graphics, 138, 142, 0, 0, 1975, 345
android.icu, 196, 205, 0, 0, 2055, 1474
android.media, 31, 32, 0, 0, 793, 604
android.net, 17, 18, 1, 0, 251, 221
android.widget, 139, 147, 0, 0, 1409, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 1 added, 1 removed
- totals now: 0 hot methods, 0 methods, 14127 classes
- totals before: 0 hot methods, 0 methods, 14127 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 1, 0, 0, 9998
com.android, 0, 0, 0, 1, 0, 3043
android.net, 0, 0, 1, 0, 0, 221
File art-profile
- hot methods: 1386 added, 2383 removed
- methods: 1386 added, 2383 removed
- classes: 5 added, 22 removed
- totals now: 12089 hot methods, 12089 methods, 1465 classes
- totals before: 13086 hot methods, 13086 methods, 1482 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1, 14, 4, 0, 66, 32
com.android, 1385, 2369, 0, 21, 12023, 1403
java, 0, 0, 1, 0, 0, 1
android.hardware, 1, 14, 0, 0, 50, 13
InternalReferenceRawProfileId: 36330
InternalReferenceCandidateProfileId: 36335
Test: build & benchmark
Change-Id: I4613ceb8f5b25bc52f2f23ca9c106391ebb7d22f
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:36190&f=CandidateName:in:36196
= Perf stats =
(lower is better)
Regular update to the boot image profiles. Benchmark shows an improvement in total boot time, and no noticeable impact for startup and memory, with a small increase in code size which could be an acceptable cost.
Avg % (Confidence interval min-max %)
Startup: 0.19% (-1.01% -> 1.4%)
Memory(PSS): -0.21% (-1.58% -> 1.17%)
Boot time: -1.4% (-2.41% -> -0.38%)
Code size (.oat + .art + .odex): 0.24MB (0.28%)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.21
image_class_threshold: 0.16
preloaded_classes_threshold: 0.62
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.015
}
=Profile stats=
Data info:
- total aggregations: 1365
- number of (device types, builds): 70
File boot-image-profile.txt
- hot methods: 1058 added, 1176 removed
- methods: 1058 added, 1176 removed
- classes: 0 added, 14 removed
- totals now: 32963 hot methods, 32963 methods, 17366 classes
- totals before: 33081 hot methods, 33081 methods, 17380 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 670, 765, 0, 7, 21390, 10047
com.android, 72, 85, 0, 6, 2472, 3479
java, 253, 258, 0, 0, 7126, 2102
android.view, 184, 209, 0, 1, 3514, 1047
android.hardware, 20, 23, 0, 0, 521, 858
android.animation, 17, 17, 0, 0, 415, 82
android.app, 37, 89, 0, 5, 2973, 1099
android.content, 77, 77, 0, 0, 1898, 584
android.graphics, 86, 89, 0, 0, 1979, 345
android.icu, 49, 49, 0, 0, 2064, 1474
android.media, 16, 21, 0, 0, 794, 604
android.net, 14, 14, 0, 0, 252, 220
android.widget, 65, 67, 0, 0, 1417, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 13 removed
- totals now: 0 hot methods, 0 methods, 17334 classes
- totals before: 0 hot methods, 0 methods, 17347 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 7, 0, 10028
com.android, 0, 0, 0, 6, 0, 3474
android.view, 0, 0, 0, 1, 0, 1047
android.app, 0, 0, 0, 5, 0, 1098
File boot-image-profile.txt
- hot methods: 718 added, 826 removed
- methods: 718 added, 826 removed
- classes: 0 added, 14 removed
- totals now: 22885 hot methods, 22885 methods, 14154 classes
- totals before: 22993 hot methods, 22993 methods, 14168 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 670, 765, 0, 7, 21326, 10016
com.android, 48, 61, 0, 6, 1462, 3050
android.view, 184, 209, 0, 1, 3514, 1047
android.hardware, 20, 23, 0, 0, 521, 858
android.animation, 17, 17, 0, 0, 415, 82
android.app, 37, 89, 0, 5, 2973, 1099
android.content, 77, 77, 0, 0, 1898, 584
android.graphics, 86, 89, 0, 0, 1979, 345
android.icu, 49, 49, 0, 0, 2064, 1474
android.media, 16, 21, 0, 0, 794, 604
android.net, 14, 14, 0, 0, 252, 220
android.widget, 65, 67, 0, 0, 1417, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 13 removed
- totals now: 0 hot methods, 0 methods, 14128 classes
- totals before: 0 hot methods, 0 methods, 14141 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 7, 0, 9997
com.android, 0, 0, 0, 6, 0, 3045
android.view, 0, 0, 0, 1, 0, 1047
android.app, 0, 0, 0, 5, 0, 1098
File art-profile
- hot methods: 1040 added, 941 removed
- methods: 1040 added, 941 removed
- classes: 5 added, 2 removed
- totals now: 13086 hot methods, 13086 methods, 1482 classes
- totals before: 12987 hot methods, 12987 methods, 1479 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 4, 2, 0, 1, 79, 28
com.android, 1036, 939, 4, 0, 13007, 1424
java, 0, 0, 0, 1, 0, 0
android.hardware, 4, 2, 0, 0, 63, 13
InternalReferenceRawProfileId: 36190
InternalReferenceCandidateProfileId: 36196
Test: build & benchmark
Change-Id: Ib1c3a4f2e42907191c68de754d3e997639426ecc
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:36076&f=CandidateName:in:36081
= Perf stats =
(lower is better)
Improvements in total boot time, no noticeable impact for startup and memory, and great reduction in code size.
Startup: 0.63%
Memory(PSS): -0.15%
Boot time: -2.09%
Code size (.oat + .art + .odex): -0.83% (-0.71 MB reduction)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.21
image_class_threshold: 0.16
preloaded_classes_threshold: 0.62
priority_packages_thresholds {
key: "service-appsearch.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-appsearch.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "service-art.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-art.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-connectivity.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "service-wifi.jar.prof:METHOD:android"
value: 0.015
}
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.011428571
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.015
}
=Profile stats=
Data info:
- total aggregations: 2977
- number of (device types, builds): 82
File boot-image-profile.txt
- hot methods: 1713 added, 2030 removed
- methods: 1713 added, 2030 removed
- classes: 2 added, 121 removed
- totals now: 33081 hot methods, 33081 methods, 17380 classes
- totals before: 33398 hot methods, 33398 methods, 17499 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1211, 1373, 1, 88, 21485, 10054
com.android, 65, 74, 0, 8, 2485, 3485
java, 344, 463, 0, 0, 7131, 2102
android.view, 315, 345, 0, 0, 3539, 1048
android.hardware, 9, 10, 0, 0, 524, 858
android.bluetooth, 0, 6, 0, 10, 0, 0
android.animation, 11, 11, 0, 0, 415, 82
android.app, 88, 87, 0, 11, 3025, 1104
android.content, 117, 121, 0, 0, 1898, 584
android.graphics, 110, 111, 0, 0, 1982, 345
android.icu, 80, 92, 0, 0, 2064, 1474
android.media, 18, 19, 0, 3, 799, 604
android.net, 28, 88, 0, 40, 252, 220
android.widget, 122, 124, 0, 0, 1419, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 109 removed
- totals now: 0 hot methods, 0 methods, 17347 classes
- totals before: 0 hot methods, 0 methods, 17456 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 76, 0, 10035
com.android, 0, 0, 0, 8, 0, 3480
android.bluetooth, 0, 0, 0, 5, 0, 0
android.app, 0, 0, 0, 10, 0, 1103
android.media, 0, 0, 0, 2, 0, 601
android.net, 0, 0, 0, 39, 0, 220
File boot-image-profile.txt
- hot methods: 1276 added, 3604 removed
- methods: 1276 added, 3604 removed
- classes: 2 added, 941 removed
- totals now: 22993 hot methods, 22993 methods, 14168 classes
- totals before: 25321 hot methods, 25321 methods, 15107 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1213, 1415, 1, 104, 21421, 10023
com.android, 63, 72, 0, 11, 1475, 3056
java, 0, 1986, 0, 668, 2, 118
android.view, 315, 345, 0, 0, 3539, 1048
android.hardware, 9, 10, 0, 0, 524, 858
android.bluetooth, 0, 6, 0, 10, 0, 0
android.animation, 11, 11, 0, 0, 415, 82
android.app, 88, 87, 0, 11, 3025, 1104
android.content, 117, 121, 0, 0, 1898, 584
android.graphics, 110, 111, 0, 0, 1982, 345
android.icu, 82, 91, 0, 0, 2064, 1474
android.media, 18, 19, 0, 3, 799, 604
android.net, 28, 86, 0, 39, 252, 220
android.widget, 122, 124, 0, 0, 1419, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 928 removed
- totals now: 0 hot methods, 0 methods, 14141 classes
- totals before: 0 hot methods, 0 methods, 15069 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 92, 0, 10004
com.android, 0, 0, 0, 11, 0, 3051
java, 0, 0, 0, 667, 0, 118
android.bluetooth, 0, 0, 0, 5, 0, 0
android.app, 0, 0, 0, 10, 0, 1103
android.media, 0, 0, 0, 2, 0, 601
android.net, 0, 0, 0, 38, 0, 220
File art-profile
- hot methods: 826 added, 7772 removed
- methods: 826 added, 7772 removed
- classes: 1 added, 3524 removed
- totals now: 12987 hot methods, 12987 methods, 1479 classes
- totals before: 19933 hot methods, 19933 methods, 5002 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 6, 4582, 0, 2507, 77, 29
com.android, 820, 1844, 1, 436, 12910, 1420
java, 0, 1289, 0, 397, 0, 1
android.view, 0, 526, 0, 239, 0, 0
android.hardware, 6, 155, 0, 236, 61, 13
android.bluetooth, 0, 24, 0, 24, 0, 0
android.animation, 0, 39, 0, 13, 0, 0
android.app, 0, 766, 0, 402, 0, 2
android.content, 0, 707, 0, 255, 2, 4
android.graphics, 0, 203, 0, 61, 0, 0
android.icu, 0, 13, 0, 7, 0, 0
android.media, 0, 157, 0, 191, 0, 0
android.net, 0, 200, 0, 114, 10, 3
android.widget, 0, 50, 0, 32, 0, 0
InternalReferenceRawProfileId: 36076
InternalReferenceCandidateProfileId: 36081
Test: build & benchmark
Change-Id: I34b8ef4d89dafb5ce77adbf85f8de829d78f3047
|
|
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
|
|
Revert submission 23615721-u-profiles-v10
Reason for revert: DroidMonitor: Potential culprit for Bug b/286550234 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted changes: /q/submissionid:23615721-u-profiles-v10
Change-Id: I0648be943a1910b82d71b649db381eb294711792
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:35486&f=CandidateName:in:35492
= 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.
Startup: -2.68%
Memory(PSS): -0.44%
Boot time: -0.09%
Code size (.oat + .art + .odex): 0.60% (0.52 MB increase)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.28
image_class_threshold: 0.24
preloaded_classes_threshold: 0.49
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.017142856
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 1164
- number of (device types, builds): 42
File boot-image-profile.txt
- hot methods: 2052 added, 1777 removed
- methods: 2052 added, 1777 removed
- classes: 178 added, 40 removed
- totals now: 33166 hot methods, 33166 methods, 17516 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, 1211, 1053, 123, 8, 21486, 10147
com.android, 98, 81, 19, 28, 2454, 3492
java, 611, 528, 24, 0, 7243, 2110
android.view, 269, 229, 9, 2, 3524, 1050
android.hardware, 23, 9, 8, 0, 506, 860
android.bluetooth, 3, 0, 8, 0, 3, 8
android.animation, 33, 23, 9, 0, 414, 82
android.app, 74, 71, 17, 1, 3021, 1116
android.content, 52, 62, 0, 1, 1890, 584
android.graphics, 89, 87, 0, 0, 1979, 345
android.icu, 172, 155, 0, 0, 2065, 1474
android.media, 22, 21, 4, 0, 793, 608
android.net, 74, 17, 39, 0, 312, 262
android.widget, 98, 99, 0, 0, 1407, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 174 added, 39 removed
- totals now: 0 hot methods, 0 methods, 17479 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, 7, 0, 10120
com.android, 0, 0, 23, 28, 0, 3488
java, 0, 0, 25, 0, 0, 2107
android.view, 0, 0, 7, 2, 0, 1048
android.hardware, 0, 0, 7, 0, 0, 859
android.bluetooth, 0, 0, 5, 0, 0, 5
android.animation, 0, 0, 9, 0, 0, 82
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, 39, 0, 0, 262
File boot-image-profile.txt
- hot methods: 3422 added, 1113 removed
- methods: 3422 added, 1113 removed
- classes: 985 added, 37 removed
- totals now: 25097 hot methods, 25097 methods, 15106 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, 1245, 1056, 139, 8, 21453, 10132
com.android, 73, 56, 22, 28, 1444, 3066
java, 1972, 0, 669, 0, 1974, 783
android.view, 269, 229, 9, 2, 3524, 1050
android.hardware, 23, 9, 8, 0, 506, 860
android.bluetooth, 3, 0, 8, 0, 3, 8
android.animation, 33, 23, 9, 0, 414, 82
android.app, 74, 71, 17, 1, 3021, 1116
android.content, 52, 62, 0, 1, 1890, 584
android.graphics, 89, 87, 0, 0, 1979, 345
android.icu, 165, 161, 0, 0, 2052, 1474
android.media, 22, 21, 4, 0, 793, 608
android.net, 73, 17, 38, 0, 311, 261
android.widget, 98, 99, 0, 0, 1407, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 979 added, 36 removed
- totals now: 0 hot methods, 0 methods, 15072 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, 7, 0, 10105
com.android, 0, 0, 26, 28, 0, 3062
java, 0, 0, 668, 0, 0, 782
android.view, 0, 0, 7, 2, 0, 1048
android.hardware, 0, 0, 7, 0, 0, 859
android.bluetooth, 0, 0, 5, 0, 0, 5
android.animation, 0, 0, 9, 0, 0, 82
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, 38, 0, 0, 261
File art-profile
- hot methods: 8483 added, 2290 removed
- methods: 8483 added, 2290 removed
- classes: 3545 added, 171 removed
- totals now: 18394 hot methods, 18394 methods, 4986 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, 4391, 9, 2495, 2, 4445, 2516
com.android, 2766, 2281, 479, 167, 12623, 1870
java, 1269, 0, 394, 0, 1269, 394
android.view, 511, 0, 244, 0, 511, 244
android.hardware, 137, 8, 236, 0, 176, 248
android.bluetooth, 19, 0, 23, 0, 19, 23
android.animation, 39, 0, 13, 0, 39, 13
android.app, 727, 0, 387, 0, 727, 387
android.content, 688, 0, 257, 1, 690, 260
android.graphics, 199, 0, 61, 0, 199, 61
android.icu, 13, 0, 7, 0, 13, 7
android.media, 140, 0, 187, 0, 140, 187
android.net, 186, 1, 114, 1, 195, 117
android.widget, 49, 0, 32, 0, 49, 32
InternalReferenceRawProfileId: 35486
InternalReferenceCandidateProfileId: 35492
Test: build & benchmark
Change-Id: I4f342f62d4fd8fda86149a67cbbffe35e73d7bfa
|
|
A class which overrides IUidObserver.Stub with empty callback
implementations was added in change
I2ff1e868586861e4dcd6586ad22139ba84eaf39c to simplify BroadcastQueue
interface complexity. Using this default implementation will mean less
churn when new callbacks are added to IUidObserver, or existing callback
method signatures are changed.
Bug: 274486653
Test: Presubmit, smoke test on cuttlefish.
Change-Id: I4dea62ca7807ab8c8a6895649099c031adfaff6f
|
|
A class which overrides IUidObserver.Stub with empty callback
implementations was added in change
I2ff1e868586861e4dcd6586ad22139ba84eaf39c to simplify BroadcastQueue
interface complexity. Using this default implementation will mean less
churn when new callbacks are added to IUidObserver, or existing callback
method signatures are changed.
Bug: 274486653
Test: Presubmit, smoke test on cuttlefish.
Change-Id: I0ba59aefae0ad51386333767317d3b4e9ff93456
|
|
A class which overrides IUidObserver.Stub with empty callback
implementations was added in change
I2ff1e868586861e4dcd6586ad22139ba84eaf39c to simplify BroadcastQueue
interface complexity. Using this default implementation will mean less
churn when new callbacks are added to IUidObserver, or existing callback
method signatures are changed.
Bug: 274486653
Test: Presubmit, smoke test on cuttlefish.
Change-Id: Ief2d65e23e0967f6d4d9812af41f433dede9af3d
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:33618
= Perf stats =
(lower is better)
Improvements in Startup time, memory and no noticeable impact for boot time at the cost of a slight increase in code size, which could be an acceptable cost.
Startup: -0.99%
Memory(PSS): -0.84%
Boot time: 0.46%
Code size (.oat + .art + .odex): 0.79% (0.68 MB increase)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.22
image_class_threshold: 0.17
preloaded_classes_threshold: 0.72
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.02125
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.0275
}
=Profile stats=
Data info:
- total aggregations: 426
- number of (device types, builds): 20
File boot-image-profile.txt
- hot methods: 1697 added, 1322 removed
- methods: 1697 added, 1322 removed
- classes: 87 added, 15 removed
- totals now: 32891 hot methods, 32891 methods, 17378 classes
- totals before: 32516 hot methods, 32516 methods, 17306 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1165, 838, 61, 8, 21328, 10032
com.android, 45, 22, 16, 7, 2437, 3501
java, 407, 387, 5, 0, 7160, 2086
android.view, 321, 199, 11, 1, 3484, 1043
android.hardware, 26, 9, 4, 3, 492, 852
android.animation, 24, 24, 0, 0, 404, 73
android.app, 120, 36, 9, 0, 3018, 1100
android.content, 90, 71, 3, 1, 1900, 585
android.graphics, 87, 79, 2, 0, 1977, 345
android.icu, 112, 107, 0, 0, 2048, 1474
android.media, 15, 12, 0, 0, 792, 604
android.net, 7, 6, 1, 0, 255, 223
android.widget, 75, 68, 2, 0, 1408, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 429 added, 11 removed
- totals now: 0 hot methods, 0 methods, 17344 classes
- totals before: 0 hot methods, 0 methods, 16926 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 351, 7, 0, 10013
com.android, 0, 0, 42, 4, 0, 3493
java, 0, 0, 6, 0, 0, 2082
android.view, 0, 0, 50, 1, 0, 1043
android.hardware, 0, 0, 35, 3, 0, 852
android.app, 0, 0, 56, 0, 0, 1099
android.content, 0, 0, 18, 0, 0, 583
android.graphics, 0, 0, 4, 0, 0, 345
android.icu, 0, 0, 1, 0, 0, 1474
android.media, 0, 0, 10, 0, 0, 601
android.net, 0, 0, 5, 0, 0, 223
android.widget, 0, 0, 7, 0, 0, 398
File boot-image-profile.txt
- hot methods: 1207 added, 856 removed
- methods: 1207 added, 856 removed
- classes: 80 added, 15 removed
- totals now: 22788 hot methods, 22788 methods, 14158 classes
- totals before: 22437 hot methods, 22437 methods, 14093 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1162, 835, 61, 8, 21264, 10001
com.android, 43, 20, 16, 7, 1427, 3072
android.view, 321, 199, 11, 1, 3484, 1043
android.hardware, 26, 9, 4, 3, 492, 852
android.animation, 24, 24, 0, 0, 404, 73
android.app, 120, 36, 9, 0, 3018, 1100
android.content, 90, 71, 3, 1, 1900, 585
android.graphics, 87, 79, 2, 0, 1977, 345
android.icu, 112, 107, 0, 0, 2048, 1474
android.media, 15, 12, 0, 0, 792, 604
android.net, 7, 6, 1, 0, 255, 223
android.widget, 75, 68, 2, 0, 1408, 399
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 412 added, 11 removed
- totals now: 0 hot methods, 0 methods, 14129 classes
- totals before: 0 hot methods, 0 methods, 13728 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 351, 7, 0, 9982
com.android, 0, 0, 38, 4, 0, 3064
android.view, 0, 0, 50, 1, 0, 1043
android.hardware, 0, 0, 35, 3, 0, 852
android.app, 0, 0, 56, 0, 0, 1099
android.content, 0, 0, 18, 0, 0, 583
android.graphics, 0, 0, 4, 0, 0, 345
android.icu, 0, 0, 1, 0, 0, 1474
android.media, 0, 0, 10, 0, 0, 601
android.net, 0, 0, 5, 0, 0, 223
android.widget, 0, 0, 7, 0, 0, 398
File art-profile
- hot methods: 1741 added, 2436 removed
- methods: 1741 added, 2436 removed
- classes: 185 added, 49 removed
- totals now: 12201 hot methods, 12201 methods, 1612 classes
- totals before: 12896 hot methods, 12896 methods, 1476 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 7, 23, 0, 0, 63, 23
com.android, 1734, 2413, 184, 48, 12138, 1558
android.hardware, 6, 21, 0, 0, 47, 12
android.net, 1, 1, 0, 0, 10, 4
InternalReferenceRawProfileId: 33618
InternalReferenceCandidateProfileId: 33621
Test: build & benchmark
Change-Id: I137e6d45fc17143855f5c2458050fa650771d509
|
|
Revert submission 21609950-u-profiles-v7
BUG: 271469319
Reason for revert: Possible regression for startup time, will merge a better candidate later
Reverted changes: /q/submissionid:21609950-u-profiles-v7
Change-Id: I73d5b3f45ae4bb082e9312ad47c32f5e21fa073c
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:32538
= Perf stats =
(lower is better)
No noticeable impact for startup time, memory and boot time and a nice drop for code sizes (mainly ~4MB drop).
Startup: 0.03%
Memory(PSS): -0.93%
Boot time: 0.54%
Code size (.oat + .art + .odex): -4.93% (4.04 MB drop)
Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
=Generation Strategy=
method_threshold: 0.6
image_class_threshold: 0.35
preloaded_classes_threshold: 0.85
priority_packages_thresholds {
key: "services.jar.prof:CLASS:android"
value: 0.04375
}
priority_packages_thresholds {
key: "services.jar.prof:METHOD:android"
value: 0.075
}
=Profile stats=
Data info:
- total aggregations: 2789
- number of (device types, builds): 62
File boot-image-profile.txt
- hot methods: 1134 added, 1164 removed
- methods: 1134 added, 1164 removed
- classes: 0 added, 295 removed
- totals now: 32486 hot methods, 32486 methods, 17011 classes
- totals before: 32516 hot methods, 32516 methods, 17306 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 741, 766, 0, 236, 20976, 9743
com.android, 27, 30, 0, 34, 2411, 3458
java, 302, 304, 0, 2, 7138, 2079
android.view, 198, 206, 0, 16, 3354, 1017
android.hardware, 8, 9, 0, 26, 474, 825
android.animation, 12, 12, 0, 0, 404, 73
android.app, 35, 45, 0, 43, 2924, 1048
android.content, 85, 89, 0, 12, 1877, 571
android.graphics, 94, 93, 0, 1, 1970, 342
android.icu, 86, 86, 0, 1, 2043, 1473
android.media, 2, 3, 0, 8, 788, 596
android.net, 11, 11, 0, 4, 254, 218
android.widget, 53, 53, 0, 3, 1401, 394
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 19 removed
- totals now: 0 hot methods, 0 methods, 16908 classes
- totals before: 0 hot methods, 0 methods, 16927 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 9, 0, 9660
com.android, 0, 0, 0, 8, 0, 3447
java, 0, 0, 0, 1, 0, 2076
android.view, 0, 0, 0, 3, 0, 991
File boot-image-profile.txt
- hot methods: 765 added, 793 removed
- methods: 765 added, 793 removed
- classes: 0 added, 286 removed
- totals now: 22409 hot methods, 22409 methods, 13807 classes
- totals before: 22437 hot methods, 22437 methods, 14093 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 740, 765, 0, 236, 20912, 9712
com.android, 25, 28, 0, 30, 1401, 3033
android.view, 198, 206, 0, 16, 3354, 1017
android.hardware, 8, 9, 0, 26, 474, 825
android.animation, 12, 12, 0, 0, 404, 73
android.app, 35, 45, 0, 43, 2924, 1048
android.content, 85, 89, 0, 12, 1877, 571
android.graphics, 94, 93, 0, 1, 1970, 342
android.icu, 86, 86, 0, 1, 2043, 1473
android.media, 2, 3, 0, 8, 788, 596
android.net, 11, 11, 0, 4, 254, 218
android.widget, 53, 53, 0, 3, 1401, 394
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 17 removed
- totals now: 0 hot methods, 0 methods, 13711 classes
- totals before: 0 hot methods, 0 methods, 13728 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 9, 0, 9629
com.android, 0, 0, 0, 8, 0, 3022
android.view, 0, 0, 0, 3, 0, 991
File art-profile
- hot methods: 382 added, 5965 removed
- methods: 382 added, 5965 removed
- classes: 0 added, 33 removed
- totals now: 7313 hot methods, 7313 methods, 1443 classes
- totals before: 12896 hot methods, 12896 methods, 1476 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 55, 0, 2, 24, 21
com.android, 382, 5910, 0, 30, 7289, 1392
android.hardware, 0, 52, 0, 0, 10, 12
android.content, 0, 0, 0, 1, 2, 3
android.net, 0, 2, 0, 1, 8, 3
InternalReferenceRawProfileId: 32502
InternalReferenceCandidateProfileId: 32516
Test: build & benchmark
Change-Id: I6e540f8ec146e6aea4f87b85c694a52bb176e3ab
|
|
Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:32157
= Perf stats =
(lower is better)
Slight improvement for startup time, memory, boot time and huge drop for code sizes (mainly ~2MB drop for services.odex).
Startup: -0.53%
Memory(PSS): -0.24%
Boot time: -0.97%
Code size (.oat + .art + .odex): -2.73% (2.3 MB drop)
Ignore-AOSP-First: Boot image profiles
=Generation Strategy=
method_threshold: 0.55
image_class_threshold: 0.15
preloaded_classes_threshold: 0.8
priority_packages_thresholds {
key: "services.jar.prof:android"
value: 0.04
}
=Profile stats=
Data info:
- total aggregations: 776
- number of (device types, builds): 17
File boot-image-profile.txt
- hot methods: 1248 added, 1252 removed
- methods: 1248 added, 1252 removed
- classes: 490 added, 14 removed
- totals now: 32516 hot methods, 32516 methods, 17306 classes
- totals before: 32520 hot methods, 32520 methods, 16830 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 824, 843, 368, 11, 21001, 9979
com.android, 63, 62, 79, 3, 2414, 3492
java, 313, 306, 10, 0, 7140, 2081
android.view, 196, 194, 55, 3, 3362, 1033
android.hardware, 3, 5, 41, 0, 475, 851
android.animation, 39, 25, 0, 0, 404, 73
android.app, 64, 95, 51, 0, 2934, 1091
android.content, 80, 79, 15, 0, 1881, 583
android.graphics, 104, 110, 8, 0, 1969, 343
android.icu, 71, 69, 1, 0, 2043, 1474
android.media, 2, 2, 15, 0, 789, 604
android.net, 12, 12, 4, 0, 254, 222
android.widget, 52, 47, 5, 0, 1401, 397
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 250 added, 15 removed
- totals now: 0 hot methods, 0 methods, 16927 classes
- totals before: 0 hot methods, 0 methods, 16692 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 153, 12, 0, 9669
com.android, 0, 0, 57, 3, 0, 3455
java, 0, 0, 29, 0, 0, 2077
android.view, 0, 0, 44, 4, 0, 994
android.hardware, 0, 0, 10, 0, 0, 820
android.app, 0, 0, 9, 0, 0, 1043
android.content, 0, 0, 4, 0, 0, 565
android.graphics, 0, 0, 10, 0, 0, 341
android.icu, 0, 0, 1, 0, 0, 1473
android.media, 0, 0, 10, 0, 0, 591
android.widget, 0, 0, 10, 0, 0, 391
File boot-image-profile.txt
- hot methods: 844 added, 881 removed
- methods: 844 added, 881 removed
- classes: 461 added, 14 removed
- totals now: 22437 hot methods, 22437 methods, 14093 classes
- totals before: 22474 hot methods, 22474 methods, 13646 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 807, 844, 367, 11, 20937, 9948
com.android, 36, 36, 74, 3, 1404, 3063
android.view, 190, 194, 54, 3, 3362, 1033
android.hardware, 2, 5, 41, 0, 475, 851
android.animation, 39, 25, 0, 0, 404, 73
android.app, 61, 95, 51, 0, 2934, 1091
android.content, 78, 79, 15, 0, 1881, 583
android.graphics, 104, 110, 8, 0, 1969, 343
android.icu, 71, 69, 1, 0, 2043, 1474
android.media, 2, 2, 15, 0, 789, 604
android.net, 12, 12, 4, 0, 254, 222
android.widget, 51, 47, 5, 0, 1401, 397
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 208 added, 17 removed
- totals now: 0 hot methods, 0 methods, 13728 classes
- totals before: 0 hot methods, 0 methods, 13537 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 153, 14, 0, 9638
com.android, 0, 0, 55, 3, 0, 3030
android.view, 0, 0, 44, 4, 0, 994
android.hardware, 0, 0, 10, 0, 0, 820
android.app, 0, 0, 9, 0, 0, 1043
android.content, 0, 0, 4, 0, 0, 565
android.graphics, 0, 0, 10, 0, 0, 341
android.icu, 0, 0, 1, 0, 0, 1473
android.media, 0, 0, 10, 0, 0, 591
android.widget, 0, 0, 10, 0, 0, 391
File art-profile
- hot methods: 2126 added, 6952 removed
- methods: 2126 added, 6952 removed
- classes: 83 added, 1961 removed
- totals now: 12896 hot methods, 12896 methods, 1476 classes
- totals before: 17722 hot methods, 17722 methods, 3354 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 9, 67, 1, 41, 79, 23
com.android, 2117, 6885, 82, 1894, 12817, 1422
android.hardware, 7, 35, 0, 24, 62, 12
android.app, 0, 1, 0, 2, 0, 0
android.content, 0, 0, 1, 0, 2, 4
android.net, 1, 22, 0, 11, 10, 4
InternalReferenceRawProfileId: 32157
InternalReferenceCandidateProfileId: 32163
Test: build & benchmark
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
Change-Id: Ic0a1e248907a14b18167a53816ab4083da7292d6
|
|
UsbMidiDevice is a confusing name for the ALSA MIDI path when
UsbDirectMidiDevice exists. This CL renames UsbMidiDevice as
UsbAlsaMidiDevice.
Bug: 266753421
Test: MIDI Keyboard and MIDI Scope
Change-Id: I6aca2b9c10043bcaa28fee1066cbece66578397a
|
|
Bug: 254051423
Test: go/art-benchmark?fb=BootImageProfileId:eq:29850
= Perf stats =
(lower is better)
Startup time, memory, boot time and Odex file sizes are all improving at the cost of a slight increase in generated boot image size, which could be an acceptable cost.
Startup: -1.88%
Memory: -0.12%
Boot time: -17.94%
Odex size: -0.10% (4.81 MB drop)
Boot image(.oat, .art) size: 1.88%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
=Profile stats=
Data info:
- total aggregations: 178
- number of (device types, builds): 20
File boot-image-profile.txt
- hot methods: 1546 added, 1376 removed
- methods: 1544 added, 1376 removed
- classes: 218 added, 52 removed
- totals now: 32520 hot methods, 32520 methods, 16830 classes
- totals before: 32350 hot methods, 32352 methods, 16664 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1012, 906, 120, 29, 21020, 9622
com.android, 93, 78, 48, 14, 2413, 3416
java, 403, 367, 41, 6, 7133, 2071
android.view, 202, 236, 38, 8, 3360, 981
android.hardware, 15, 8, 4, 0, 477, 810
android.animation, 22, 23, 0, 0, 390, 73
android.app, 151, 119, 7, 2, 2965, 1040
android.content, 93, 72, 6, 0, 1880, 568
android.graphics, 90, 87, 4, 4, 1975, 335
android.icu, 91, 86, 4, 3, 2041, 1473
android.media, 5, 8, 16, 2, 789, 589
android.net, 9, 9, 0, 0, 254, 218
android.widget, 50, 52, 11, 0, 1396, 392
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 246 added, 52 removed
- totals now: 0 hot methods, 0 methods, 16692 classes
- totals before: 0 hot methods, 0 methods, 16498 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 101, 27, 0, 9528
com.android, 0, 0, 86, 16, 0, 3401
java, 0, 0, 31, 6, 0, 2048
android.view, 0, 0, 29, 6, 0, 954
android.hardware, 0, 0, 4, 0, 0, 810
android.animation, 0, 0, 1, 0, 0, 73
android.app, 0, 0, 11, 2, 0, 1034
android.content, 0, 0, 6, 0, 0, 561
android.graphics, 0, 0, 3, 4, 0, 331
android.icu, 0, 0, 3, 3, 0, 1472
android.media, 0, 0, 11, 2, 0, 581
android.widget, 0, 0, 2, 0, 0, 381
File boot-image-profile.txt
- hot methods: 1111 added, 972 removed
- methods: 1109 added, 972 removed
- classes: 168 added, 43 removed
- totals now: 22474 hot methods, 22474 methods, 13646 classes
- totals before: 22335 hot methods, 22337 methods, 13521 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1029, 906, 121, 29, 20974, 9592
com.android, 81, 65, 47, 14, 1404, 2992
android.view, 208, 236, 39, 8, 3366, 982
android.hardware, 16, 8, 4, 0, 478, 810
android.animation, 22, 23, 0, 0, 390, 73
android.app, 154, 119, 7, 2, 2968, 1040
android.content, 95, 72, 6, 0, 1882, 568
android.graphics, 90, 87, 4, 4, 1975, 335
android.icu, 91, 86, 4, 3, 2041, 1473
android.media, 5, 8, 16, 2, 789, 589
android.net, 9, 9, 0, 0, 254, 218
android.widget, 51, 52, 11, 0, 1397, 392
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 189 added, 43 removed
- totals now: 0 hot methods, 0 methods, 13535 classes
- totals before: 0 hot methods, 0 methods, 13389 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 101, 27, 0, 9497
com.android, 0, 0, 86, 16, 0, 2978
android.view, 0, 0, 29, 6, 0, 954
android.hardware, 0, 0, 4, 0, 0, 810
android.animation, 0, 0, 1, 0, 0, 73
android.app, 0, 0, 11, 2, 0, 1034
android.content, 0, 0, 6, 0, 0, 561
android.graphics, 0, 0, 3, 4, 0, 331
android.icu, 0, 0, 3, 3, 0, 1472
android.media, 0, 0, 11, 2, 0, 581
android.widget, 0, 0, 2, 0, 0, 381
File art-profile
- hot methods: 2071 added, 12500 removed
- methods: 1988 added, 38385 removed
- classes: 121 added, 1950 removed
- totals now: 17722 hot methods, 17722 methods, 3354 classes
- totals before: 28151 hot methods, 54119 methods, 5183 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 18, 235, 4, 62, 137, 63
com.android, 2053, 12252, 115, 1845, 17585, 3234
android.hardware, 16, 209, 3, 49, 90, 36
android.app, 0, 0, 0, 1, 1, 2
android.content, 0, 0, 0, 2, 2, 3
android.net, 1, 20, 1, 8, 31, 15
InternalReferenceRawProfileId: 29850
InternalReferenceCandidateProfileId: 29857
Ignore-AOSP-First: Boot image profiles
Change-Id: Idb5cccfb48336de21388b697755841069c356ab5
|
|
Bug: 246609325
Test: Manual
Change-Id: Ia94a3d7c5f86e59bc9227ee08dd98b7e9a6a88a5
|
|
Bug: 254051423
= Perf stats =
(lower is better)
Startup and boot time, memory and code side are all improved.
Startup: -3.39%
Memory: -5.84%
Boot time: -1.50%
Code size: -2.35%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
=Profile stats=
Data info:
- total aggregations: 183
- number of (device types, builds): 19
File boot-image-profile.txt
- hot methods: 17 added, 1063 removed
- methods: 17 added, 1112 removed
- classes: 8 added, 1 removed
- totals now: 22335 hot methods, 22337 methods, 13521 classes
- totals before: 23381 hot methods, 23432 methods, 13514 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 15, 962, 7, 1, 20851, 9500
com.android, 2, 100, 1, 0, 1388, 2959
android.view, 3, 170, 2, 0, 3394, 951
android.hardware, 0, 34, 0, 0, 470, 806
android.animation, 0, 6, 0, 0, 391, 73
android.app, 7, 205, 1, 1, 2933, 1035
android.content, 1, 35, 0, 0, 1859, 562
android.graphics, 2, 59, 1, 0, 1972, 335
android.icu, 0, 26, 0, 0, 2036, 1472
android.media, 0, 78, 0, 0, 792, 575
android.net, 0, 14, 0, 0, 254, 218
android.widget, 0, 79, 0, 0, 1398, 381
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 5 added, 3 removed
- totals now: 0 hot methods, 0 methods, 13389 classes
- totals before: 0 hot methods, 0 methods, 13387 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 5, 3, 0, 9423
android.app, 0, 0, 0, 1, 0, 1025
android.media, 0, 0, 5, 2, 0, 572
File boot-image-profile.txt
- hot methods: 40 added, 1077 removed
- methods: 40 added, 1126 removed
- classes: 11 added, 1 removed
- totals now: 32350 hot methods, 32352 methods, 16664 classes
- totals before: 33387 hot methods, 33438 methods, 16654 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 15, 962, 7, 1, 20914, 9531
com.android, 2, 100, 1, 0, 2398, 3382
java, 23, 14, 2, 0, 7097, 2036
android.view, 3, 170, 2, 0, 3394, 951
android.hardware, 0, 34, 0, 0, 470, 806
android.animation, 0, 6, 0, 0, 391, 73
android.app, 7, 205, 1, 1, 2933, 1035
android.content, 1, 35, 0, 0, 1859, 562
android.graphics, 2, 59, 1, 0, 1972, 335
android.icu, 0, 26, 0, 0, 2036, 1472
android.media, 0, 78, 0, 0, 792, 575
android.net, 0, 14, 0, 0, 254, 218
android.widget, 0, 79, 0, 0, 1398, 381
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 5 added, 3 removed
- totals now: 0 hot methods, 0 methods, 16498 classes
- totals before: 0 hot methods, 0 methods, 16496 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 5, 3, 0, 9454
android.app, 0, 0, 0, 1, 0, 1025
android.media, 0, 0, 5, 2, 0, 572
File art-profile
- hot methods: 1128 added, 531 removed
- methods: 1883 added, 730 removed
- classes: 61 added, 8 removed
- totals now: 28149 hot methods, 54115 methods, 5183 classes
- totals before: 27552 hot methods, 52962 methods, 5130 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 9, 1, 0, 0, 354, 121
com.android, 1115, 530, 59, 8, 27782, 4964
android.hardware, 9, 1, 0, 0, 283, 82
InternalReferenceRawProfileId: 16050
InternalReferenceCandidateProfileId: 16066
Test: build & benchmark
Ignore-AOSP-First: Updating boot image profiles
Change-Id: I3c6f9caae9bdf7efeb9d10cbac94ab729e9d4e6b
|
|
= Perf stats =
(lower is better)
Startup and boot time are improving at the cost of a slight increase in code size, which could be an acceptable cost.
Also it fixes a regression at
Bug: b/249424113
Startup: -1.71%
Memory: 0.02%
Boot time: -0.95%
Code size: 2.41%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.04
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.04
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.04
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.04
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.04
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.04
}
=Profile stats=
Data info:
- total aggregations: 138
- number of (device types, builds): 15
File boot-image-profile.txt
- hot methods: 2288 added, 1228 removed
- methods: 2339 added, 1228 removed
- classes: 138 added, 246 removed
- totals now: 23381 hot methods, 23432 methods, 13514 classes
- totals before: 22321 hot methods, 22321 methods, 13622 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 2095, 1053, 75, 37, 21798, 9494
com.android, 182, 165, 61, 199, 1486, 2958
android.view, 455, 268, 22, 15, 3561, 949
android.hardware, 44, 6, 0, 1, 504, 806
android.animation, 39, 26, 1, 0, 397, 73
android.app, 359, 136, 14, 3, 3131, 1035
android.content, 130, 91, 6, 5, 1893, 562
android.graphics, 124, 65, 3, 3, 2029, 334
android.icu, 82, 53, 0, 0, 2062, 1472
android.media, 82, 8, 0, 1, 870, 575
android.net, 20, 6, 0, 1, 268, 218
android.widget, 138, 57, 2, 0, 1477, 381
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 450 added, 229 removed
- totals now: 0 hot methods, 0 methods, 13393 classes
- totals before: 0 hot methods, 0 methods, 13172 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 286, 27, 0, 9427
com.android, 0, 0, 42, 192, 0, 2908
android.view, 0, 0, 68, 10, 0, 931
android.hardware, 0, 0, 18, 1, 0, 806
android.animation, 0, 0, 1, 0, 0, 72
android.app, 0, 0, 39, 3, 0, 1026
android.content, 0, 0, 8, 5, 0, 555
android.graphics, 0, 0, 4, 3, 0, 332
android.icu, 0, 0, 2, 0, 0, 1472
android.media, 0, 0, 13, 0, 0, 575
android.net, 0, 0, 3, 1, 0, 218
android.widget, 0, 0, 11, 0, 0, 379
File boot-image-profile.txt
- hot methods: 2876 added, 1749 removed
- methods: 2927 added, 1749 removed
- classes: 190 added, 262 removed
- totals now: 33387 hot methods, 33438 methods, 16654 classes
- totals before: 32260 hot methods, 32260 methods, 16726 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 2095, 1053, 82, 37, 21861, 9525
com.android, 208, 191, 66, 199, 2496, 3381
java, 471, 417, 18, 15, 7088, 2034
android.view, 455, 268, 22, 15, 3561, 949
android.hardware, 44, 6, 0, 1, 504, 806
android.animation, 39, 26, 1, 0, 397, 73
android.app, 359, 136, 18, 3, 3131, 1035
android.content, 130, 91, 6, 5, 1893, 562
android.graphics, 124, 65, 3, 3, 2029, 334
android.icu, 82, 53, 0, 0, 2062, 1472
android.media, 82, 8, 3, 1, 870, 575
android.net, 20, 6, 0, 1, 268, 218
android.widget, 138, 57, 2, 0, 1477, 381
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 511 added, 245 removed
- totals now: 0 hot methods, 0 methods, 16502 classes
- totals before: 0 hot methods, 0 methods, 16236 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 290, 27, 0, 9458
com.android, 0, 0, 55, 192, 0, 3331
java, 0, 0, 27, 15, 0, 2023
android.view, 0, 0, 68, 10, 0, 931
android.hardware, 0, 0, 18, 1, 0, 806
android.animation, 0, 0, 1, 0, 0, 72
android.app, 0, 0, 41, 3, 0, 1026
android.content, 0, 0, 8, 5, 0, 555
android.graphics, 0, 0, 4, 3, 0, 332
android.icu, 0, 0, 2, 0, 0, 1472
android.media, 0, 0, 13, 0, 0, 575
android.net, 0, 0, 3, 1, 0, 218
android.widget, 0, 0, 11, 0, 0, 379
File art-profile
- hot methods: 6099 added, 11176 removed
- methods: 8477 added, 16478 removed
- classes: 512 added, 399 removed
- totals now: 27552 hot methods, 52962 methods, 5130 classes
- totals before: 32629 hot methods, 60963 methods, 5017 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 25, 97, 0, 23, 346, 121
com.android, 6074, 11075, 492, 368, 27197, 4913
android.hardware, 23, 83, 0, 20, 275, 82
android.app, 0, 2, 0, 0, 1, 3
android.content, 1, 0, 0, 0, 2, 5
android.net, 1, 12, 0, 3, 50, 22
InternalReferenceRawProfileId: 14025
InternalReferenceCandidateProfileId: 15056
Test: build & benchmark
Ignore-AOSP-First: Updating boot image profiles
Change-Id: Id3e168b9ac675e6b3d12b1f7d69268732488e211
|
|
Some package names and class names have been changed. This CL manually
updates the profile to make it in sync with the changes.
The motivation is to address the performance regression caused by
profile-guilded compilation. This manual update is on a best effort
basis. There are many methods in the input method code that have been
added/removed/renamed, and this CL does not reflect those changes.
Therefore, the performance cannot be exactly the same as before unless
a new profile is generated from dogfooder's data.
Bug: 238413831
Test: -
1. m
2. out/host/linux-x86/bin/profman \
--create-profile-from=frameworks/base/services/art-profile \
--output-profile-type=app \
--apk=out/soong/.intermediates/frameworks/base/services/services/android_common/aligned/services.jar \
--dex-location=/system/framework/services.jar \
--reference-profile-file=out/soong/.intermediates/frameworks/base/services/services/android_common/dexpreopt/profile.prof
3. See much less "Could not find method" on
"Lcom/android/server/inputmethod/InputMethodManagerService;"
than before.
4. out/host/linux-x86/bin/oatdump \
--oat-file=$ANDROID_PRODUCT_OUT/system/framework/oat/x86_64/services.odex \
--dex-file=$ANDROID_PRODUCT_OUT/system/framework/services.jar \
| grep "hideSoftInput" -A 100
5. See native code.
Change-Id: I52144b00b752c78be476be07e2ecd453e1e252cf
|
|
Summary:
Startup: -1.18%
Memory: -3.75%
Code size: 0.52
Boot time: 2.45%
Reasoning: Improvements in startup and memory, at the cost of boot time and slight code size increases.
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
=Profile stats=
Data info:
- total aggregations: 4523
- number of (device types, builds): 144
File boot-image-profile.txt
- hot methods: 337 added, 337 removed
- methods: 337 added, 337 removed
- classes: 107 added, 0 removed
- totals now: 22321 hot methods, 22321 methods, 13622 classes
- totals before: 22321 hot methods, 22321 methods, 13515 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 321, 320, 86, 0, 20756, 9456
com.android, 6, 7, 17, 0, 1469, 3096
android.view, 106, 106, 9, 0, 3374, 942
android.hardware, 2, 2, 2, 0, 466, 807
android.animation, 27, 27, 0, 0, 384, 72
android.app, 18, 17, 10, 0, 2908, 1024
android.content, 20, 20, 4, 0, 1854, 561
android.graphics, 20, 20, 0, 0, 1970, 334
android.icu, 28, 28, 1, 0, 2033, 1472
android.media, 0, 0, 7, 0, 796, 576
android.net, 2, 2, 3, 0, 254, 219
android.widget, 25, 25, 3, 0, 1396, 379
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 5 removed
- totals now: 0 hot methods, 0 methods, 13172 classes
- totals before: 0 hot methods, 0 methods, 13177 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 5, 0, 9168
android.view, 0, 0, 0, 5, 0, 873
File boot-image-profile.txt
- hot methods: 524 added, 440 removed
- methods: 524 added, 440 removed
- classes: 127 added, 0 removed
- totals now: 32260 hot methods, 32260 methods, 16726 classes
- totals before: 32176 hot methods, 32176 methods, 16599 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 373, 319, 80, 0, 20819, 9480
com.android, 36, 11, 25, 0, 2479, 3514
java, 99, 94, 12, 0, 7034, 2031
android.view, 109, 106, 9, 0, 3374, 942
android.hardware, 3, 2, 2, 0, 466, 807
android.animation, 27, 27, 0, 0, 384, 72
android.app, 32, 17, 6, 0, 2908, 1020
android.content, 23, 20, 4, 0, 1854, 561
android.graphics, 20, 20, 0, 0, 1970, 334
android.icu, 36, 27, 1, 0, 2033, 1472
android.media, 11, 0, 4, 0, 796, 573
android.net, 3, 2, 3, 0, 254, 219
android.widget, 29, 25, 3, 0, 1396, 379
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 1 added, 7 removed
- totals now: 0 hot methods, 0 methods, 16237 classes
- totals before: 0 hot methods, 0 methods, 16243 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 7, 0, 9195
java, 0, 0, 1, 0, 0, 2012
android.view, 0, 0, 0, 5, 0, 873
android.app, 0, 0, 0, 2, 0, 988
File art-profile
- hot methods: 4524 added, 1108 removed
- methods: 3185 added, 1274 removed
- classes: 474 added, 4 removed
- totals now: 32629 hot methods, 60963 methods, 5017 classes
- totals before: 29213 hot methods, 59052 methods, 4547 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 38, 12, 6, 0, 418, 144
com.android, 4480, 1096, 453, 4, 32198, 4789
android.hardware, 23, 12, 0, 0, 335, 102
android.net, 15, 0, 6, 0, 61, 25
InternalReferenceRawProfileId: 7132
InternalReferenceCandidateProfileId: 7146
Test: build & benchmark
Bug: 223366272
Change-Id: Idbced6f8ef01d883370d566b0a0200cdded3dc6c
|
|
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.8
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
=Profile stats=
Data info:
- total aggregations: 2245
- number of (device types, builds): 83
File boot-image-profile.txt
- hot methods: 1213 added, 157 removed
- methods: 1213 added, 157 removed
- classes: 41 added, 4 removed
- totals now: 22321 hot methods, 22321 methods, 13515 classes
- totals before: 21265 hot methods, 21265 methods, 13478 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1110, 154, 37, 4, 20755, 9370
com.android, 103, 3, 1, 0, 1470, 3079
android.view, 238, 29, 7, 2, 3374, 933
android.hardware, 67, 0, 10, 0, 466, 805
android.app, 171, 60, 0, 2, 2907, 1014
android.content, 92, 8, 0, 0, 1854, 557
android.graphics, 24, 1, 1, 0, 1970, 334
android.icu, 145, 2, 0, 0, 2033, 1471
android.media, 53, 0, 1, 0, 796, 569
android.net, 9, 2, 0, 0, 254, 216
android.widget, 39, 3, 0, 0, 1396, 376
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 366 added, 363 removed
- totals now: 0 hot methods, 0 methods, 13177 classes
- totals before: 0 hot methods, 0 methods, 13174 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 4, 3, 0, 9173
android.view, 0, 0, 0, 1, 0, 878
android.app, 0, 0, 2, 2, 0, 990
File boot-image-profile.txt
- hot methods: 1660 added, 225 removed
- methods: 1660 added, 225 removed
- classes: 48 added, 4 removed
- totals now: 32176 hot methods, 32176 methods, 16599 classes
- totals before: 30741 hot methods, 30741 methods, 16555 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1058, 154, 36, 4, 20765, 9400
com.android, 135, 10, 1, 0, 2454, 3489
java, 373, 45, 5, 0, 7029, 2019
android.view, 235, 29, 7, 2, 3371, 933
android.hardware, 66, 0, 10, 0, 465, 805
android.app, 157, 60, 0, 2, 2893, 1014
android.content, 89, 8, 0, 0, 1851, 557
android.graphics, 25, 1, 1, 0, 1970, 334
android.icu, 136, 2, 0, 0, 2024, 1471
android.media, 42, 0, 1, 0, 785, 569
android.net, 8, 2, 0, 0, 253, 216
android.widget, 35, 3, 0, 0, 1392, 376
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 764 added, 536 removed
- totals now: 0 hot methods, 0 methods, 16243 classes
- totals before: 0 hot methods, 0 methods, 16015 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 2, 0, 0, 9202
com.android, 0, 0, 62, 0, 0, 3468
java, 0, 0, 113, 0, 0, 2011
android.app, 0, 0, 2, 0, 0, 990
File art-profile
- hot methods: 3750 added, 924 removed
- methods: 6074 added, 1212 removed
- classes: 125 added, 9 removed
- totals now: 29213 hot methods, 59052 methods, 4547 classes
- totals before: 26387 hot methods, 54190 methods, 4431 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 29, 9, 2, 0, 392, 138
com.android, 3721, 915, 122, 9, 28814, 4340
android.hardware, 27, 8, 2, 0, 324, 102
android.net, 2, 1, 0, 0, 46, 19
InternalReferenceRawProfileId: 7112
InternalReferenceCandidateProfileId: 7121
Test: build & benchmark
Bug: 223366272
Change-Id: I9f938d3279919d91c7cd1c9ba40aca62f6404b0a
|
|
=Generation Strategy=
method_threshold: 0.15
image_class_threshold: 0.15
preloaded_classes_threshold: 0.85
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
=Profile stats=
Data info:
- total aggregations: 728
- number of (device types, builds): 39
File boot-image-profile.txt
- hot methods: 7827 added, 9252 removed
- methods: 7827 added, 9252 removed
- classes: 498 added, 1007 removed
- totals now: 21265 hot methods, 21265 methods, 13478 classes
- totals before: 22690 hot methods, 22690 methods, 13987 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 7358, 8683, 323, 595, 19799, 9337
com.android, 431, 531, 51, 395, 1370, 3078
android.view, 1320, 1356, 58, 11, 3165, 928
android.hardware, 109, 116, 27, 27, 399, 795
android.bluetooth, 0, 173, 0, 170, 0, 0
android.animation, 193, 210, 1, 0, 384, 72
android.app, 886, 984, 45, 12, 2796, 1016
android.content, 765, 1139, 12, 49, 1770, 557
android.graphics, 776, 801, 14, 1, 1947, 333
android.icu, 630, 680, 11, 68, 1890, 1471
android.media, 133, 164, 11, 10, 743, 568
android.net, 92, 556, 1, 200, 247, 216
android.widget, 574, 595, 8, 0, 1360, 376
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 2379 added, 682 removed
- totals now: 0 hot methods, 0 methods, 13174 classes
- totals before: 0 hot methods, 0 methods, 11477 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 1248, 508, 0, 9172
com.android, 0, 0, 766, 174, 0, 3058
android.view, 0, 0, 143, 7, 0, 879
android.hardware, 0, 0, 134, 25, 0, 789
android.bluetooth, 0, 0, 0, 164, 0, 0
android.app, 0, 0, 131, 8, 0, 990
android.content, 0, 0, 78, 40, 0, 552
android.graphics, 0, 0, 36, 0, 0, 331
android.icu, 0, 0, 66, 64, 0, 1470
android.media, 0, 0, 72, 9, 0, 562
android.net, 0, 0, 40, 165, 0, 216
android.widget, 0, 0, 39, 0, 0, 368
File boot-image-profile.txt
- hot methods: 11908 added, 13507 removed
- methods: 11908 added, 13507 removed
- classes: 895 added, 1047 removed
- totals now: 30741 hot methods, 30741 methods, 16555 classes
- totals before: 32340 hot methods, 32340 methods, 16707 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 7393, 8717, 323, 595, 19861, 9368
com.android, 842, 942, 121, 395, 2329, 3488
java, 2712, 2914, 231, 24, 6701, 2014
android.view, 1320, 1356, 58, 11, 3165, 928
android.hardware, 109, 116, 27, 27, 399, 795
android.bluetooth, 0, 173, 0, 170, 0, 0
android.animation, 193, 210, 1, 0, 384, 72
android.app, 886, 984, 45, 12, 2796, 1016
android.content, 765, 1139, 12, 49, 1770, 557
android.graphics, 775, 801, 14, 1, 1946, 333
android.icu, 630, 680, 11, 68, 1890, 1471
android.media, 133, 164, 11, 10, 743, 568
android.net, 92, 556, 1, 200, 247, 216
android.widget, 574, 595, 8, 0, 1360, 376
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 2820 added, 709 removed
- totals now: 0 hot methods, 0 methods, 16015 classes
- totals before: 0 hot methods, 0 methods, 13904 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 1254, 507, 0, 9200
com.android, 0, 0, 775, 174, 0, 3406
java, 0, 0, 198, 14, 0, 1898
android.view, 0, 0, 142, 6, 0, 878
android.hardware, 0, 0, 135, 25, 0, 789
android.bluetooth, 0, 0, 0, 164, 0, 0
android.app, 0, 0, 132, 8, 0, 988
android.content, 0, 0, 78, 40, 0, 552
android.graphics, 0, 0, 36, 0, 0, 331
android.icu, 0, 0, 66, 64, 0, 1470
android.media, 0, 0, 72, 9, 0, 562
android.net, 0, 0, 40, 165, 0, 216
android.widget, 0, 0, 39, 0, 0, 368
File art-profile
- hot methods: 16518 added, 25602 removed
- methods: 31902 added, 28848 removed
- classes: 1107 added, 2440 removed
- totals now: 26387 hot methods, 54190 methods, 4431 classes
- totals before: 35471 hot methods, 51136 methods, 5764 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 219, 316, 42, 343, 372, 136
com.android, 16297, 25136, 1048, 2045, 26008, 4227
android.hardware, 206, 143, 40, 67, 305, 100
android.app, 2, 0, 1, 1, 3, 3
android.content, 0, 2, 0, 2, 1, 5
android.media, 0, 0, 0, 1, 0, 0
android.net, 10, 167, 1, 269, 45, 19
InternalReferenceRawProfileId: 6586
InternalReferenceCandidateProfileId: 6607
Test: build & benchmark
Bug: 223366272
Change-Id: Id523f8c8e9aa78afc560c4876feba7d65c5b29e1
|
|
Changing some light idle alarms to non-wakeup to reduce the number of
alarms that could potentially wake up the device. If the CPU is already
in suspend, we don't need to wake it up just to officially enter doze
light. We can just wait until the CPU wakes up to do the transition. On
a particularly active device, this won't change the time we enter Doze
light much, but on a quiet device, the Doze light and maintenance
windows may be shifted significantly.
Bug: 185466339
Bug: 197216833
Test: atest DeviceIdleTest
Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest
Change-Id: Ib9bf9e120c806e61eced99fbfb84cdb19d844e69
|
|
= Perf stats =
(lower is better)
Start, memory and code size are improving at a slight expense of boot
time. The increase in boot time is however small, and could well be
in the noise.
Cold startup (speed-profile): -1.21%
PSS: -3.40%
RSS: -2.58%
Privat Dirty: -4.68%
Boot time: 0.04%
Code size: 2.79%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 6988
- number of (device types, builds): 256
File boot-image-profile.txt
- hot methods: 3564 added, 2353 removed
- methods: 3564 added, 2353 removed
- classes: 498 added, 29 removed
- totals now: 22707 hot methods, 22707 methods, 13987 classes
- totals before: 21496 hot methods, 21496 methods, 13518 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3418, 2238, 39, 11, 21138, 9609
com.android, 145, 114, 89, 18, 1473, 3422
android.view, 575, 372, 4, 0, 3202, 881
android.hardware, 88, 41, 2, 0, 407, 795
android.bluetooth, 26, 23, 0, 0, 173, 170
android.animation, 95, 56, 0, 0, 401, 71
android.app, 392, 225, 7, 0, 2896, 983
android.content, 329, 243, 5, 1, 2146, 594
android.graphics, 425, 246, 0, 0, 1974, 320
android.icu, 115, 86, 0, 0, 1940, 1528
android.media, 98, 62, 0, 0, 777, 567
android.net, 78, 51, 2, 10, 711, 415
android.widget, 344, 277, 0, 0, 1382, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 3 added, 19 removed
- totals now: 0 hot methods, 0 methods, 11477 classes
- totals before: 0 hot methods, 0 methods, 11493 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 3, 1, 0, 8432
com.android, 0, 0, 0, 18, 0, 2466
android.hardware, 0, 0, 1, 0, 0, 680
android.app, 0, 0, 2, 0, 0, 867
android.content, 0, 0, 0, 1, 0, 514
File boot-image-profile.txt
- hot methods: 4788 added, 2939 removed
- methods: 4788 added, 2939 removed
- classes: 678 added, 29 removed
- totals now: 32340 hot methods, 32340 methods, 16707 classes
- totals before: 30491 hot methods, 30491 methods, 16058 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3432, 2249, 39, 11, 21185, 9640
com.android, 291, 154, 89, 18, 2429, 3762
java, 825, 434, 0, 0, 6903, 1807
android.view, 574, 372, 4, 0, 3201, 881
android.hardware, 87, 41, 2, 0, 406, 795
android.bluetooth, 37, 23, 0, 0, 173, 170
android.animation, 95, 56, 0, 0, 401, 71
android.app, 390, 225, 7, 0, 2894, 983
android.content, 327, 243, 5, 1, 2144, 594
android.graphics, 423, 246, 0, 0, 1972, 320
android.icu, 115, 86, 0, 0, 1940, 1528
android.media, 95, 62, 0, 0, 774, 567
android.net, 78, 51, 2, 10, 711, 415
android.widget, 344, 277, 0, 0, 1381, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 20 removed
- totals now: 0 hot methods, 0 methods, 13904 classes
- totals before: 0 hot methods, 0 methods, 13924 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 2, 0, 8453
com.android, 0, 0, 0, 18, 0, 2805
android.view, 0, 0, 0, 1, 0, 742
android.content, 0, 0, 0, 1, 0, 514
File art-profile
- hot methods: 4595 added, 2644 removed
- methods: 5217 added, 3300 removed
- classes: 359 added, 13 removed
- totals now: 35471 hot methods, 51136 methods, 5764 classes
- totals before: 33520 hot methods, 49219 methods, 5418 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 37, 12, 157, 0, 469, 437
com.android, 4557, 2631, 142, 13, 34847, 5224
android.hardware, 8, 8, 0, 0, 242, 127
android.net, 29, 4, 157, 0, 202, 287
InternalReferenceRawProfileId: 4117
InternalReferenceCandidateProfileId: 4124
Bug: 169104277
Test: build & benchmark
Change-Id: I6dd60b5d0457e0fa35d57082677892ae65b9e920
|
|
= Perf stats =
(lower is better)
Startup time is improving at the cost of slight increase in memory usage.
This is due the a large number of extra preloaded classes which will
be trimmed down in further updates.
Cold startup (speed-profile): -2.05%
PSS: -1.41%
RSS: -0.63%
Privat Dirty: -2.03%
Boot time: -0.71%
Code size: 0.47%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.899
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 5637
- number of (device types, builds): 179
File boot-image-profile.txt
- hot methods: 1354 added, 873 removed
- methods: 1354 added, 873 removed
- classes: 165 added, 2 removed
- totals now: 21496 hot methods, 21496 methods, 13518 classes
- totals before: 21015 hot methods, 21015 methods, 13355 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1304, 833, 156, 2, 19958, 9581
com.android, 49, 39, 9, 0, 1442, 3351
android.view, 157, 128, 3, 2, 2999, 877
android.hardware, 5, 4, 0, 0, 360, 793
android.bluetooth, 3, 3, 0, 0, 170, 170
android.animation, 24, 24, 0, 0, 362, 71
android.app, 139, 127, 0, 0, 2729, 976
android.content, 121, 106, 1, 0, 2060, 590
android.graphics, 96, 79, 1, 0, 1795, 320
android.icu, 39, 35, 0, 0, 1911, 1528
android.media, 20, 21, 1, 0, 741, 567
android.net, 381, 14, 141, 0, 684, 423
android.widget, 94, 94, 2, 0, 1315, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 108 added, 0 removed
- totals now: 0 hot methods, 0 methods, 11493 classes
- totals before: 0 hot methods, 0 methods, 11385 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 108, 0, 0, 8430
android.view, 0, 0, 1, 0, 0, 743
android.app, 0, 0, 1, 0, 0, 865
android.net, 0, 0, 106, 0, 0, 341
File boot-image-profile.txt
- hot methods: 1685 added, 1227 removed
- methods: 1685 added, 1227 removed
- classes: 167 added, 2 removed
- totals now: 30491 hot methods, 30491 methods, 16058 classes
- totals before: 30033 hot methods, 30033 methods, 15893 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1303, 843, 158, 2, 20002, 9612
com.android, 112, 102, 9, 0, 2292, 3691
java, 216, 229, 0, 0, 6512, 1807
android.view, 157, 128, 3, 2, 2999, 877
android.hardware, 5, 4, 0, 0, 360, 793
android.bluetooth, 3, 14, 0, 0, 159, 170
android.animation, 24, 24, 0, 0, 362, 71
android.app, 140, 126, 0, 0, 2729, 976
android.content, 121, 106, 1, 0, 2060, 590
android.graphics, 96, 79, 1, 0, 1795, 320
android.icu, 39, 35, 0, 0, 1911, 1528
android.media, 20, 21, 1, 0, 741, 567
android.net, 381, 14, 141, 0, 684, 423
android.widget, 93, 94, 2, 0, 1314, 368
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 110 added, 0 removed
- totals now: 0 hot methods, 0 methods, 13924 classes
- totals before: 0 hot methods, 0 methods, 13814 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 110, 0, 0, 8455
android.view, 0, 0, 1, 0, 0, 743
android.media, 0, 0, 1, 0, 0, 499
android.net, 0, 0, 106, 0, 0, 341
File art-profile
- hot methods: 2406 added, 1622 removed
- methods: 2927 added, 1862 removed
- classes: 77 added, 4 removed
- totals now: 33520 hot methods, 49219 methods, 5418 classes
- totals before: 32736 hot methods, 48154 methods, 5345 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 23, 4, 8, 0, 444, 280
com.android, 2383, 1618, 69, 4, 32921, 5095
android.hardware, 2, 2, 0, 0, 242, 127
android.content, 2, 1, 1, 0, 3, 7
android.net, 16, 1, 7, 0, 177, 130
InternalReferenceRawProfileId: 3925
InternalReferenceCandidateProfileId: 3934
Bug: 169104277
Test: build & benchmark
Change-Id: Ifd03de98020a738cfa7687fe83d7d3e5c89f5c10
|
|
= Perf stats =
(lower is better)
Reduction in the overall memory consumptions as well as faster
cold startups. The trade-off is a slight increase of code size.
Cold startup (speed-profile): -1.25%
PSS: -1.67%
RSS: -1.79%
Privat Dirty: -5.96%
Boot time: -0.82%
Code size: +4.85%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.899
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 5307
- number of (device types, builds): 168
File boot-image-profile.txt
- hot methods: 21015 added, 0 removed
- methods: 21015 added, 0 removed
- classes: 13355 added, 0 removed
- totals now: 21015 hot methods, 21015 methods, 13355 classes
- totals before: 0 hot methods, 0 methods, 0 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 19487, 0, 9427, 0, 19487, 9427
com.android, 1432, 0, 3342, 0, 1432, 3342
java, 2, 0, 114, 0, 2, 114
android.view, 2970, 0, 876, 0, 2970, 876
android.hardware, 359, 0, 793, 0, 359, 793
android.bluetooth, 170, 0, 170, 0, 170, 170
android.animation, 362, 0, 71, 0, 362, 71
android.app, 2717, 0, 976, 0, 2717, 976
android.content, 2045, 0, 589, 0, 2045, 589
android.graphics, 1778, 0, 319, 0, 1778, 319
android.icu, 1907, 0, 1528, 0, 1907, 1528
android.media, 742, 0, 566, 0, 742, 566
android.net, 317, 0, 282, 0, 317, 282
android.widget, 1315, 0, 366, 0, 1315, 366
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 11385 added, 0 removed
- totals now: 0 hot methods, 0 methods, 11385 classes
- totals before: 0 hot methods, 0 methods, 0 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 8322, 0, 0, 8322
com.android, 0, 0, 2484, 0, 0, 2484
java, 0, 0, 114, 0, 0, 114
android.view, 0, 0, 742, 0, 0, 742
android.hardware, 0, 0, 679, 0, 0, 679
android.bluetooth, 0, 0, 164, 0, 0, 164
android.animation, 0, 0, 71, 0, 0, 71
android.app, 0, 0, 864, 0, 0, 864
android.content, 0, 0, 515, 0, 0, 515
android.graphics, 0, 0, 295, 0, 0, 295
android.icu, 0, 0, 1468, 0, 0, 1468
android.media, 0, 0, 499, 0, 0, 499
android.net, 0, 0, 235, 0, 0, 235
android.widget, 0, 0, 329, 0, 0, 329
File boot-image-profile.txt
- hot methods: 2663 added, 2687 removed
- methods: 2659 added, 2687 removed
- classes: 201 added, 248 removed
- totals now: 30033 hot methods, 30033 methods, 15893 classes
- totals before: 30057 hot methods, 30061 methods, 15940 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1988, 1537, 113, 228, 19542, 9456
com.android, 295, 255, 86, 20, 2282, 3682
java, 304, 673, 0, 0, 6525, 1807
android.view, 210, 127, 21, 0, 2970, 876
android.hardware, 35, 10, 5, 2, 359, 793
android.bluetooth, 18, 16, 0, 0, 170, 170
android.animation, 28, 13, 0, 0, 362, 71
android.app, 285, 190, 16, 19, 2715, 976
android.content, 298, 104, 5, 0, 2045, 589
android.graphics, 143, 65, 0, 0, 1778, 319
android.icu, 103, 43, 0, 0, 1907, 1528
android.media, 71, 18, 4, 2, 742, 566
android.net, 42, 387, 5, 138, 317, 282
android.widget, 143, 88, 3, 0, 1315, 366
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 33 added, 175 removed
- totals now: 0 hot methods, 0 methods, 13814 classes
- totals before: 0 hot methods, 0 methods, 13956 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 6, 170, 0, 8345
com.android, 0, 0, 27, 5, 0, 2823
android.app, 0, 0, 2, 1, 0, 864
android.graphics, 0, 0, 2, 0, 0, 295
android.net, 0, 0, 0, 107, 0, 235
File art-profile
- hot methods: 4351 added, 2717 removed
- methods: 5688 added, 3427 removed
- classes: 174 added, 40 removed
- totals now: 32736 hot methods, 48154 methods, 5345 classes
- totals before: 31102 hot methods, 45893 methods, 5211 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 11, 37, 0, 18, 425, 272
com.android, 4337, 2679, 173, 22, 32156, 5030
android.hardware, 2, 2, 0, 0, 242, 127
android.net, 9, 32, 0, 15, 162, 123
InternalReferenceRawProfileId: 3892
InternalReferenceCandidateProfileId: 3900
Test: build & benchmark
Bug: 169104277
Change-Id: I64897afc1d6899d729d9086f64ac3a9574429526
(cherry picked from commit c6c95e8d93267548ba191ef3354539d183167652)
|
|
= Perf stats =
(lower is better)
Big reduction in the overall memory consumptions as well as faster cold startups. The trade-off is a slight increase of code size.
Cold startup (speed-profile): -2.45%
PSS: -6.93%
RSS: -2.06%
Privat Dirty: -8.15%
Boot time: -0.71%
Code size: +5.73%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 4778
- number of (device types, builds): 138
File boot-image-profile.txt
- hot methods: 4497 added, 2661 removed
- methods: 4497 added, 2661 removed
- classes: 760 added, 34 removed
- totals now: 30057 hot methods, 30061 methods, 15940 classes
- totals before: 28221 hot methods, 28225 methods, 15214 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3051, 1971, 263, 22, 19091, 9571
com.android, 348, 157, 436, 12, 2242, 3616
java, 799, 398, 59, 0, 6894, 1807
android.view, 573, 390, 60, 1, 2887, 855
android.hardware, 51, 29, 3, 0, 334, 790
android.bluetooth, 21, 1, 1, 0, 168, 170
android.animation, 105, 104, 0, 0, 347, 71
android.app, 350, 168, 38, 1, 2620, 979
android.content, 272, 181, 17, 0, 1851, 584
android.graphics, 319, 310, 16, 0, 1700, 319
android.icu, 241, 152, 0, 0, 1847, 1528
android.media, 67, 26, 13, 2, 689, 564
android.net, 78, 49, 8, 3, 662, 415
android.widget, 246, 182, 11, 0, 1260, 363
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 0 added, 18 removed
- totals now: 0 hot methods, 0 methods, 13956 classes
- totals before: 0 hot methods, 0 methods, 13974 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 15, 0, 8509
com.android, 0, 0, 0, 3, 0, 2801
android.view, 0, 0, 0, 1, 0, 742
android.app, 0, 0, 0, 2, 0, 863
android.graphics, 0, 0, 0, 2, 0, 293
android.media, 0, 0, 0, 1, 0, 498
File art-profile
- hot methods: 4156 added, 2740 removed
- methods: 4967 added, 3444 removed
- classes: 415 added, 11 removed
- totals now: 31102 hot methods, 45893 methods, 5211 classes
- totals before: 29686 hot methods, 44370 methods, 4807 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 26, 34, 8, 1, 451, 290
com.android, 4107, 2698, 407, 10, 30498, 4879
android.hardware, 12, 12, 0, 0, 242, 127
android.content, 0, 0, 0, 0, 2, 6
android.net, 14, 21, 8, 1, 185, 138
InternalReferenceRawProfileId: 3751
InternalReferenceCandidateProfileId: 3761
Test: build & benchmark
Bug: 169104277
Change-Id: Ie9de3cba7c952b28cb48e53d44cab6e21cc8d81f
|
|
= Perf stats =
(lower is better)
Start and memory are improving at a slight expense of code size and
boot time. The boot time metric is very noisy however. This changes
adds inline-caches to the boot profile.
An inline cache is formatted like:
```
HSPLthis/is/a/classMethod;->descriptor()V+]Ltarget/type;Lresult/type1;,Lresult/type2;]Ltarget/type2;megamorphic_types
HSPLandroid/content/pm/parsing/ParsingPackageUtils;->hasDomainURLs(Landroid/content/pm/parsing/ParsingPackage;)Z+]Landroid/content/pm/parsing/component/ParsedActivity;Landroid/content/pm/parsing/component/ParsedActivity;]Ljava/util/List;Ljava/util/Collections$EmptyList;,Ljava/util/ArrayList;]Landroid/content/pm/parsing/component/ParsedIntentInfo;Landroid/content/pm/parsing/component/ParsedIntentInfo;
```
Cold startup (speed-profile): -2.35%
PSS: -1.60%
RSS: -0.44%
Private Dirty: -2.14%
Boot time: +3.24%
Code size: +5.83%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 4247
- number of (device types, builds): 128
File boot-image-profile.txt
- hot methods: 7863 added, 8398 removed
- methods: 7857 added, 8398 removed
- classes: 352 added, 848 removed
- totals now: 28221 hot methods, 28225 methods, 15214 classes
- totals before: 28756 hot methods, 28766 methods, 15710 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3992, 4543, 246, 358, 18011, 9330
com.android, 590, 593, 96, 429, 2051, 3192
java, 2521, 2494, 9, 59, 6493, 1748
android.view, 729, 805, 15, 74, 2704, 796
android.hardware, 36, 43, 16, 8, 312, 787
android.bluetooth, 12, 10, 0, 1, 148, 169
android.animation, 99, 106, 0, 0, 346, 71
android.app, 415, 493, 24, 48, 2438, 942
android.content, 400, 462, 14, 22, 1760, 567
android.graphics, 321, 393, 2, 19, 1691, 303
android.icu, 489, 424, 58, 4, 1758, 1528
android.media, 61, 91, 4, 19, 648, 553
android.net, 134, 157, 27, 15, 633, 410
android.widget, 307, 382, 11, 16, 1196, 352
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 5 added, 474 removed
- totals now: 0 hot methods, 0 methods, 13974 classes
- totals before: 0 hot methods, 0 methods, 14443 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 5, 121, 0, 8524
com.android, 0, 0, 0, 308, 0, 2804
java, 0, 0, 0, 43, 0, 1714
android.view, 0, 0, 0, 11, 0, 743
android.hardware, 0, 0, 0, 1, 0, 679
android.app, 0, 0, 0, 29, 0, 865
android.content, 0, 0, 0, 4, 0, 515
android.graphics, 0, 0, 0, 8, 0, 295
android.icu, 0, 0, 0, 4, 0, 1468
android.media, 0, 0, 0, 3, 0, 499
android.net, 0, 0, 4, 1, 0, 342
android.widget, 0, 0, 0, 5, 0, 329
File art-profile
- hot methods: 15265 added, 13296 removed
- methods: 18373 added, 16318 removed
- classes: 490 added, 1810 removed
- totals now: 29686 hot methods, 44370 methods, 4807 classes
- totals before: 27717 hot methods, 42315 methods, 6127 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 185, 140, 10, 14, 459, 283
com.android, 15050, 13109, 480, 1788, 29089, 4482
android.hardware, 101, 69, 9, 6, 242, 127
android.app, 0, 0, 0, 0, 1, 3
android.content, 1, 0, 0, 0, 2, 6
android.net, 80, 68, 0, 8, 192, 131
InternalReferenceRawProfileId: 3661
InternalReferenceCandidateProfileId: 3664
Test: build & benchmark
Bug: 168941430
Merged-In: I82493824bf0f383c0db81cdc11051df50b5e813f
Merged-In: Icf870c90dd68b8450ad0928ae8e5594c5eb94423
(cherry picked from commit 740d4947b96a5992643d1122682e6affe382a8d2)
Change-Id: Ifd87d506d710d1a1eaf31842f0327eeab50684be
|
|
= Perf stats =
(lower is better)
Start, memory and code size are improving at a slight expense of boot
time. The increase in boot time is however small, and could well be
in the noise.
Cold startup (speed-profile): -2.01%
PSS: -3.40%
RSS: -5.53%
Privat Dirty: -0.08%
Boot time: 1.58%
Code size: -22.4%
=Generation Strategy=
method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.85
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.02
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.02
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.02
}
=Profile stats=
Data info:
- total aggregations: 1547
- number of (device types, builds): 62
File boot-image-profile.txt
- hot methods: 1431 added, 11395 removed
- methods: 1388 added, 12571 removed
- classes: 883 added, 112 removed
- totals now: 28756 hot methods, 28766 methods, 15710 classes
- totals before: 38720 hot methods, 39949 methods, 14939 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 700, 8119, 514, 46, 18562, 9442
com.android, 194, 2682, 342, 65, 2054, 3525
java, 383, 465, 19, 0, 6466, 1798
android.view, 107, 876, 31, 10, 2780, 855
android.hardware, 2, 408, 88, 1, 319, 779
android.bluetooth, 13, 88, 4, 3, 146, 170
android.animation, 0, 91, 0, 0, 353, 71
android.app, 221, 1362, 41, 7, 2516, 966
android.content, 41, 952, 36, 0, 1822, 575
android.graphics, 63, 386, 5, 0, 1763, 320
android.icu, 54, 150, 1, 4, 1693, 1474
android.media, 33, 522, 47, 3, 678, 568
android.net, 5, 431, 45, 0, 656, 398
android.widget, 36, 461, 5, 1, 1271, 357
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 518 added, 476 removed
- totals now: 0 hot methods, 0 methods, 14446 classes
- totals before: 0 hot methods, 0 methods, 14404 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 0, 319, 0, 8643
com.android, 0, 0, 0, 136, 0, 3112
java, 0, 0, 101, 21, 0, 1757
android.view, 0, 0, 0, 80, 0, 754
android.hardware, 0, 0, 0, 12, 0, 680
android.bluetooth, 0, 0, 0, 5, 0, 164
android.app, 0, 0, 0, 40, 0, 891
android.content, 0, 0, 0, 19, 0, 519
android.graphics, 0, 0, 0, 12, 0, 303
android.icu, 0, 0, 0, 5, 0, 1472
android.media, 0, 0, 0, 22, 0, 502
android.net, 0, 0, 0, 9, 0, 343
android.widget, 0, 0, 0, 18, 0, 334
File art-profile
- hot methods: 9847 added, 2417 removed
- methods: 9201 added, 4241 removed
- classes: 1432 added, 563 removed
- totals now: 27717 hot methods, 42315 methods, 6127 classes
- totals before: 20287 hot methods, 37355 methods, 5258 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 159, 2, 32, 2, 414, 287
com.android, 9632, 2415, 1389, 561, 27148, 5790
android.hardware, 82, 0, 27, 0, 210, 124
android.app, 0, 0, 1, 0, 1, 3
android.content, 0, 0, 2, 0, 1, 6
android.net, 77, 1, 2, 0, 180, 139
InternalReferenceRawProfileId: 3305
InternalReferenceCandidateProfileId: 3307
Test: build & benchmark
Bug: 169104277
Change-Id: I30494a9c879cd226252749a350df686d4ef99eed
|
|
The existing methods are moved from ActivityTaskManagerService
to ActivityClientController.
Bug: 174800802
Bug: 174041144
Test: Build
Change-Id: I1a5a34903871b8e3213312d3e4993eaa9069e484
|
|
= Perf stats =
(lower is better)
Startup time is improving at the cost of slight increase in memory usage.
This is due the a large number of extra preloaded classes which will
be trimmed down in further updates.
Cold startup (speed-profile): -3.38%
PSS: -0.54%
RSS: 4.33%
Privat Dirty: -0.02%
Boot time: 3.73%
Code size: 3.57%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.1
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.01
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.01
}
=Profile stats=
Data info:
- total aggregations: 281
- number of (device types, builds): 17
File boot-image-profile.txt
- hot methods: 5268 added, 6255 removed
- methods: 5762 added, 5929 removed
- classes: 1944 added, 822 removed
- totals now: 38720 hot methods, 39949 methods, 14939 classes
- totals before: 39707 hot methods, 40116 methods, 13817 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 3749, 4709, 1312, 392, 25981, 8974
com.android, 817, 725, 558, 343, 4542, 3248
java, 582, 586, 70, 69, 6548, 1779
android.view, 380, 920, 82, 61, 3549, 834
android.hardware, 127, 120, 15, 13, 725, 692
android.bluetooth, 16, 64, 2, 1, 221, 169
android.animation, 7, 21, 0, 0, 444, 71
android.app, 557, 649, 56, 44, 3657, 932
android.content, 962, 225, 35, 19, 2733, 539
android.graphics, 103, 197, 29, 16, 2086, 315
android.icu, 125, 629, 868, 0, 1789, 1477
android.media, 302, 175, 31, 18, 1167, 524
android.net, 173, 145, 11, 15, 1082, 353
android.widget, 104, 467, 22, 13, 1696, 353
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 3364 added, 558 removed
- totals now: 0 hot methods, 0 methods, 14923 classes
- totals before: 0 hot methods, 0 methods, 12117 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 1492, 341, 0, 8962
com.android, 0, 0, 1257, 131, 0, 3247
java, 0, 0, 179, 69, 0, 1778
android.view, 0, 0, 91, 53, 0, 834
android.hardware, 0, 0, 34, 13, 0, 692
android.bluetooth, 0, 0, 2, 1, 0, 169
android.app, 0, 0, 68, 41, 0, 931
android.content, 0, 0, 64, 19, 0, 538
android.graphics, 0, 0, 29, 16, 0, 315
android.icu, 0, 0, 869, 0, 0, 1477
android.media, 0, 0, 37, 15, 0, 524
android.net, 0, 0, 37, 12, 0, 352
android.widget, 0, 0, 22, 12, 0, 352
File art-profile
- hot methods: 7015 added, 11289 removed
- methods: 10994 added, 13950 removed
- classes: 1562 added, 2229 removed
- totals now: 20288 hot methods, 37357 methods, 5258 classes
- totals before: 24562 hot methods, 40313 methods, 5925 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 32, 321, 17, 65, 257, 257
com.android, 6947, 10930, 1540, 2150, 19932, 4962
android.hardware, 24, 116, 3, 39, 128, 97
android.app, 0, 0, 0, 0, 1, 2
android.content, 0, 1, 1, 0, 1, 4
android.net, 8, 194, 13, 23, 104, 137
InternalReferenceRawProfileId: 2853
InternalReferenceCandidateProfileId: 2857
Retested after blacklist at: go/art-benchmark:2890
Test: build & benchmark
Bug: 169104277
Change-Id: Id5a107451629a2be9675be58519fe4e39cd5565f
|
|
= Perf stats =
(lower is better)
Avg Startup time change: -1.75%
Avg Memory at boot PSS change: -0.44%
Code size: +3.36%
Boot time: -0.33%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.3
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.01
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.01
}
=Profile stats=
Data info:
- total aggregations: 7130
- number of (device types, builds): 205
File boot-image-profile.txt
- hot methods: 1746 added, 2138 removed
- methods: 1705 added, 2226 removed
- classes: 2103 added, 240 removed
- totals now: 39682 hot methods, 40091 methods, 13821 classes
- totals before: 40074 hot methods, 40612 methods, 11958 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 1369, 1520, 569, 202, 26942, 8058
com.android, 243, 246, 995, 23, 4450, 3033
java, 94, 285, 107, 0, 6526, 1778
android.view, 191, 316, 19, 53, 4089, 813
android.hardware, 13, 44, 24, 2, 718, 694
android.bluetooth, 6, 22, 0, 1, 269, 168
android.animation, 0, 14, 0, 0, 458, 71
android.app, 103, 315, 12, 20, 3749, 920
android.content, 41, 120, 31, 46, 1996, 523
android.graphics, 33, 53, 0, 0, 2180, 302
android.icu, 8, 127, 0, 0, 2293, 609
android.media, 65, 66, 10, 8, 1040, 511
android.net, 25, 49, 29, 20, 1054, 357
android.widget, 89, 118, 1, 1, 2059, 344
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 428 added, 246 removed
- totals now: 0 hot methods, 0 methods, 12125 classes
- totals before: 0 hot methods, 0 methods, 11943 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 341, 204, 0, 7817
com.android, 0, 0, 86, 23, 0, 2122
java, 0, 0, 1, 3, 0, 1668
android.view, 0, 0, 2, 53, 0, 796
android.hardware, 0, 0, 5, 2, 0, 675
android.bluetooth, 0, 0, 0, 1, 0, 168
android.app, 0, 0, 0, 20, 0, 907
android.content, 0, 0, 2, 46, 0, 493
android.icu, 0, 0, 0, 1, 0, 608
android.media, 0, 0, 1, 8, 0, 502
android.net, 0, 0, 0, 20, 0, 327
android.widget, 0, 0, 0, 1, 0, 342
File art-profile
- hot methods: 1658 added, 5108 removed
- methods: 2941 added, 9987 removed
- classes: 450 added, 1451 removed
- totals now: 24562 hot methods, 40313 methods, 5925 classes
- totals before: 28012 hot methods, 47359 methods, 6926 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 34, 12, 15, 3, 546, 305
com.android, 1612, 5094, 434, 1448, 23915, 5572
android.hardware, 10, 0, 0, 0, 220, 133
android.net, 21, 11, 14, 3, 290, 147
InternalReferenceRawProfileId: 2161
InternalReferenceCandidateProfileId: 2193
Test: build & benchmark
Bug: 148471769
Change-Id: Id1728cd51db8052e6f47cfe006a3ca4b62766f9e
|
|
Removing redundant copy of sourcePackageSetting from BasePermission.
BUG: 154337853
Test: cts-tf > run cts -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests
Change-Id: I9d235b66d18f8fcbe88afc9aa8aa0dca2d715deb
|
|
= Perf stats =
(lower is better)
Avg Startup time change: -1.36%
Avg Memory at boot PSS change: -5.05%
Code size: -5.05%
Boot time: -2.79%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.1
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.01
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.01
}
=Profile stats=
Data info:
- total aggregations: 4215
- number of (device types, builds): 137
File boot-image-profile.txt
- hot methods: 876 added, 5178 removed
- methods: 812 added, 5267 removed
- classes: 466 added, 428 removed
- totals now: 40072 hot methods, 40610 methods, 11958 classes
- totals before: 44374 hot methods, 45065 methods, 11920 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 597, 3775, 372, 334, 27091, 7691
com.android, 198, 478, 89, 89, 4453, 2061
java, 68, 715, 4, 3, 6717, 1671
android.view, 162, 220, 66, 0, 4214, 847
android.hardware, 26, 109, 19, 0, 749, 672
android.bluetooth, 3, 96, 5, 0, 285, 169
android.animation, 1, 4, 1, 0, 472, 71
android.app, 148, 374, 42, 2, 3961, 928
android.content, 52, 890, 26, 0, 2075, 538
android.graphics, 11, 51, 6, 0, 2200, 302
android.icu, 14, 99, 8, 0, 2412, 609
android.media, 15, 77, 39, 0, 1041, 509
android.net, 30, 185, 18, 5, 1078, 348
android.widget, 3, 203, 33, 0, 2088, 344
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 465 added, 429 removed
- totals now: 0 hot methods, 0 methods, 11942 classes
- totals before: 0 hot methods, 0 methods, 11906 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 371, 334, 0, 7679
com.android, 0, 0, 89, 89, 0, 2060
java, 0, 0, 4, 3, 0, 1670
android.view, 0, 0, 66, 0, 0, 847
android.hardware, 0, 0, 19, 0, 0, 672
android.bluetooth, 0, 0, 5, 0, 0, 169
android.animation, 0, 0, 1, 0, 0, 71
android.app, 0, 0, 41, 2, 0, 927
android.content, 0, 0, 26, 0, 0, 537
android.graphics, 0, 0, 6, 0, 0, 302
android.icu, 0, 0, 8, 0, 0, 609
android.media, 0, 0, 39, 0, 0, 509
android.net, 0, 0, 18, 5, 0, 347
android.widget, 0, 0, 33, 0, 0, 343
File art-profile
- hot methods: 1028 added, 0 removed
- methods: 3388 added, 0 removed
- classes: 261 added, 0 removed
- totals now: 28014 hot methods, 47361 methods, 6926 classes
- totals before: 26986 hot methods, 43973 methods, 6665 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 29, 0, 7, 0, 524, 293
com.android, 996, 0, 253, 0, 27399, 6586
android.hardware, 2, 0, 0, 0, 210, 133
android.media, 0, 0, 1, 0, 0, 1
android.net, 26, 0, 6, 0, 280, 136
InternalReferenceRawProfileId: 1088
InternalReferenceCandidateProfileId: 1092
Bug: 148471769
Test: build & benchmark
Change-Id: I165d69a3a50b504e226d910f328da635571870a6
|
|
= Perf stats =
(lower is better)
Avg Startup time change: -4.03%
Avg Memory at boot PSS change: -0.49%
Code size: +53.37%
Boot time: +2.98%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.1
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.01
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.01
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.01
}
=Profile stats=
Data info:
- total aggregations: 2637
- number of (device types, builds): 94
File boot-image-profile.txt
- hot methods: 21082 added, 1 removed
- methods: 21770 added, 1 removed
- classes: 117 added, 3 removed
- totals now: 44374 hot methods, 45065 methods, 11920 classes
- totals before: 23293 hot methods, 23296 methods, 11806 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 15134, 0, 95, 0, 30269, 7653
com.android, 3423, 1, 20, 0, 4733, 2061
java, 1988, 0, 2, 3, 7364, 1670
android.view, 1973, 0, 8, 0, 4272, 781
android.hardware, 677, 0, 4, 0, 832, 653
android.bluetooth, 297, 0, 0, 0, 378, 164
android.animation, 115, 0, 0, 0, 475, 70
android.app, 2165, 0, 3, 0, 4187, 888
android.content, 1765, 0, 4, 0, 2913, 512
android.graphics, 639, 0, 4, 0, 2240, 296
android.icu, 368, 0, 64, 0, 2497, 601
android.media, 720, 0, 3, 0, 1103, 470
android.net, 748, 0, 2, 0, 1233, 335
android.widget, 1387, 0, 0, 0, 2288, 311
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 117 added, 3 removed
- totals now: 0 hot methods, 0 methods, 11905 classes
- totals before: 0 hot methods, 0 methods, 11791 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 95, 0, 0, 7642
com.android, 0, 0, 20, 0, 0, 2060
java, 0, 0, 2, 3, 0, 1669
android.view, 0, 0, 8, 0, 0, 781
android.hardware, 0, 0, 4, 0, 0, 653
android.app, 0, 0, 3, 0, 0, 888
android.content, 0, 0, 4, 0, 0, 511
android.graphics, 0, 0, 4, 0, 0, 296
android.icu, 0, 0, 64, 0, 0, 601
android.media, 0, 0, 3, 0, 0, 470
android.net, 0, 0, 2, 0, 0, 334
File art-profile
- hot methods: 2191 added, 0 removed
- methods: 3356 added, 0 removed
- classes: 484 added, 0 removed
- totals now: 26986 hot methods, 43973 methods, 6665 classes
- totals before: 24795 hot methods, 40617 methods, 6181 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 19, 0, 18, 0, 495, 286
com.android, 2171, 0, 466, 0, 26403, 6333
android.hardware, 9, 0, 13, 0, 208, 133
android.content, 1, 0, 0, 0, 2, 3
android.net, 9, 0, 5, 0, 254, 130
InternalReferenceRawProfileId: 494
InternalReferenceCandidateProfileId: 506
Bug: 148471769
Test: build & benchmark
Change-Id: I5773982b7cd3c9925e0ff5fd3cfbe8e8fb8c3522
|
|
This is no longer needed because native Incremental Service directly
uses IDataLoaderManager.
BUG: 150406132
Test: atest service.incremental_test
Test: atest PackageManagerShellCommandIncrementalTest
Change-Id: Idbde2988883becbf3eb707d42c0558774a6073e8
|
|
= Perf stats =
(lower is better)
Avg Startup time change: -1.35%
Avg Memory at boot PSS change: -4.25%
Code size: +5.52%
Boot time: +0.03%
=Generation Strategy=
method_threshold: 0.1
image_class_threshold: 0.1
preloaded_classes_threshold: 0.1
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
key: "android"
value: 0.04
}
priority_packages_thresholds {
key: "com.android.systemui"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.GoogleCamera"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.dialer"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.gms"
value: 0.05
}
priority_packages_thresholds {
key: "com.google.android.webview"
value: 0.05
}
=Profile stats=
Data info:
- total aggregations: 1935
- number of (device types, builds): 70
File boot-image-profile.txt
- hot methods: 1179 added, 413 removed
- methods: 1174 added, 413 removed
- classes: 1801 added, 0 removed
- totals now: 23293 hot methods, 23296 methods, 11806 classes
- totals before: 22527 hot methods, 22535 methods, 10005 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 949, 338, 1461, 0, 15135, 7558
com.android, 55, 29, 254, 0, 1311, 2041
java, 134, 31, 59, 0, 5376, 1671
android.view, 194, 31, 119, 0, 2299, 773
android.hardware, 6, 24, 89, 0, 155, 649
android.bluetooth, 6, 4, 9, 0, 81, 164
android.animation, 22, 0, 0, 0, 360, 70
android.app, 66, 64, 132, 0, 2022, 885
android.content, 15, 25, 108, 0, 1148, 508
android.graphics, 54, 10, 8, 0, 1601, 292
android.icu, 238, 7, 288, 0, 2129, 537
android.media, 22, 8, 66, 0, 383, 467
android.net, 7, 53, 83, 0, 485, 333
android.widget, 167, 0, 31, 0, 901, 311
File preloaded-classes
- hot methods: 0 added, 0 removed
- methods: 0 added, 0 removed
- classes: 1799 added, 0 removed
- totals now: 0 hot methods, 0 methods, 11791 classes
- totals before: 0 hot methods, 0 methods, 9992 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 0, 0, 1461, 0, 0, 7548
com.android, 0, 0, 254, 0, 0, 2040
java, 0, 0, 59, 0, 0, 1670
android.view, 0, 0, 119, 0, 0, 773
android.hardware, 0, 0, 89, 0, 0, 649
android.bluetooth, 0, 0, 9, 0, 0, 164
android.app, 0, 0, 132, 0, 0, 885
android.content, 0, 0, 108, 0, 0, 507
android.graphics, 0, 0, 8, 0, 0, 292
android.icu, 0, 0, 288, 0, 0, 537
android.media, 0, 0, 66, 0, 0, 467
android.net, 0, 0, 83, 0, 0, 332
android.widget, 0, 0, 31, 0, 0, 310
File art-profile
- hot methods: 1508 added, 51 removed
- methods: 1174 added, 110 removed
- classes: 253 added, 55 removed
- totals now: 24797 hot methods, 40621 methods, 6183 classes
- totals before: 23340 hot methods, 39557 methods, 5985 classes
per package info as csv (selected):
package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
android, 21, 4, 26, 1, 476, 268
com.android, 1478, 47, 222, 54, 24234, 5869
android.hardware, 12, 4, 2, 1, 199, 120
android.net, 9, 0, 24, 0, 245, 125
InternalReferenceRawProfileId: 463
InternalReferenceCandidateProfileId: 465
Test: build & benchmark
Bug: 148471769
Change-Id: Iedee8b9637fd7cc621f32545bc354d1a69a3650e
(cherry picked from commit 435ffc9d43e3ecb4b7b56e3756be75ea14d46641)
|
|
Test: builds
BUG: 150476291
Change-Id: I6ffad927ecf48c697458bb6eb8f6f01847fe0954
(cherry picked from commit d97d9535953b622e8416f5a4579202faae71c375)
|