Files
frameworks_base/config
art-benchmark-service 0842656809 Update boot image and system server profiles [M10C10P80S0], RESTRICT AUTOMERGE (Since these are profiles for T release only)
= Perf stats =
(lower is better)

Startup time is improving at the cost of a slight increase in code size, memory and boot-time, which could be an acceptable cost.

Startup: -1.61%
PSS: 0.93%
RSS: 0.90%
Privat Dirty: 3.14%
Boot time: 0.58%
Code size: 0.18%

=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: 16916
- number of (device types, builds): 450

File boot-image-profile.txt
  - hot methods: 420 added, 436 removed
  - methods: 420 added, 436 removed
  - classes: 0 added, 5 removed
  - totals now: 22320 hot methods, 22320 methods, 13653 classes
  - totals before: 22336 hot methods, 22336 methods, 13658 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 407, 422, 0, 5, 20756, 9479
    com.android, 6, 7, 0, 0, 1468, 3104
    android.view, 133, 145, 0, 5, 3366, 944
    android.hardware, 6, 5, 0, 0, 466, 807
    android.animation, 8, 8, 0, 0, 393, 73
    android.app, 25, 25, 0, 0, 2908, 1030
    android.content, 38, 41, 0, 0, 1851, 564
    android.graphics, 38, 42, 0, 0, 1967, 334
    android.icu, 23, 23, 0, 0, 2033, 1472
    android.media, 2, 2, 0, 0, 796, 576
    android.net, 3, 3, 0, 0, 254, 219
    android.widget, 45, 45, 0, 0, 1396, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 6 added, 0 removed
  - totals now: 0 hot methods, 0 methods, 13182 classes
  - totals before: 0 hot methods, 0 methods, 13176 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, 0, 0, 9171
    android.app, 0, 0, 2, 0, 0, 990
    android.media, 0, 0, 1, 0, 0, 563

File boot-image-profile.txt
  - hot methods: 634 added, 650 removed
  - methods: 634 added, 650 removed
  - classes: 0 added, 5 removed
  - totals now: 32259 hot methods, 32259 methods, 16798 classes
  - totals before: 32275 hot methods, 32275 methods, 16803 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 408, 423, 0, 5, 20819, 9510
    com.android, 56, 57, 0, 0, 2478, 3526
    java, 125, 125, 0, 0, 7034, 2042
    android.view, 133, 145, 0, 5, 3366, 944
    android.hardware, 6, 5, 0, 0, 466, 807
    android.animation, 8, 8, 0, 0, 393, 73
    android.app, 25, 25, 0, 0, 2908, 1030
    android.content, 38, 41, 0, 0, 1851, 564
    android.graphics, 38, 42, 0, 0, 1967, 334
    android.icu, 23, 23, 0, 0, 2033, 1472
    android.media, 2, 2, 0, 0, 796, 576
    android.net, 3, 3, 0, 0, 254, 219
    android.widget, 45, 45, 0, 0, 1396, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 6 added, 0 removed
  - totals now: 0 hot methods, 0 methods, 16252 classes
  - totals before: 0 hot methods, 0 methods, 16246 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, 0, 0, 9202
    android.app, 0, 0, 2, 0, 0, 990
    android.media, 0, 0, 1, 0, 0, 563

File art-profile
  - hot methods: 1459 added, 1017 removed
  - methods: 1825 added, 1408 removed
  - classes: 54 added, 6 removed
  - totals now: 36703 hot methods, 63314 methods, 5437 classes
  - totals before: 36261 hot methods, 62897 methods, 5389 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 4, 1, 0, 0, 454, 148
    com.android, 1454, 1016, 54, 6, 36232, 5197
    android.hardware, 4, 1, 0, 0, 358, 104

InternalReferenceRawProfileId: 10606
InternalReferenceCandidateProfileId: 10612

Test: build & benchmark

Ignore-AOSP-First: T profiles

Change-Id: I941ad5affa04cf701ac9882e8e5afb582d733c45
2022-08-17 12:37:00 +00:00
..
2021-06-25 09:46:53 +01:00
2021-11-11 10:27:02 +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.