Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 08401c1f authored by art-benchmark-service's avatar art-benchmark-service Committed by Islam Elbanna
Browse files

Update boot image and system server profiles [M5C5P80S0]

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
parent ab979cf0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment