Files
frameworks_base/config
art-benchmark-service 9ef6c57626 Update boot image and system server profiles [M10C10P80S0]
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
2022-10-18 09:11:19 +00:00
..
…

Configuration files for ART compiling the framework

  • boot-image-profile.txt: A list of methods from the boot classpath to be compiled by dex2oat. The order in the file is not relevant.
  • boot-profile.txt: An ordered list of methods from the boot classpath to be compiled by the JIT in the order provided in the file. Used by JIT zygote, when on-device signing failed.
  • dirty-image-objects: List of objects in the boot image which are known to become dirty. This helps binning objects in the image file.
  • preloaded-classes: classes that will be allocated in the boot image, and initialized by the zygote.
  • preloaded-classes-denylist: Classes that should not be initialized in the zygote, as they have app-specific behavior.