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

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

Update boot image and system server profiles [M20C15P70S0PP], RESTRICT...

Update boot image and system server profiles [M20C15P70S0PP], RESTRICT AUTOMERGE Since these are profiles for T release only.

Bug: 254051423
Test: go/art-benchmark?p=BootImageProfileId:33626

= Perf stats =
(lower is better)

Improvements in Startup time, boot time and drop in the generated code size at the cost of a slight increase in memory, which could be an acceptable cost.

Startup: -0.83%
Memory(PSS): 1.43%
Boot time: -0.72%
Code size (.oat + .art + .odex): -2.44% (2.89 MB drop)

Ignore-AOSP-First: Boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code

=Generation Strategy=

method_threshold: 0.2
image_class_threshold: 0.15
preloaded_classes_threshold: 0.7
priority_packages_thresholds {
  key: "services.jar.prof:CLASS:android"
  value: 0.01875
}
priority_packages_thresholds {
  key: "services.jar.prof:METHOD:android"
  value: 0.025
}

=Profile stats=

Data info:
- total aggregations: 23
- number of (device types, builds): 9

File boot-image-profile.txt
  - hot methods: 1893 added, 1590 removed
  - methods: 1893 added, 1590 removed
  - classes: 117 added, 1 removed
  - totals now: 32655 hot methods, 32655 methods, 16928 classes
  - totals before: 32352 hot methods, 32352 methods, 16812 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1210, 1012, 77, 0, 21083, 9595
    com.android, 135, 54, 32, 1, 2561, 3562
    java, 478, 460, 5, 0, 7073, 2047
    android.view, 236, 189, 11, 0, 3426, 960
    android.hardware, 13, 5, 5, 0, 480, 812
    android.animation, 11, 11, 0, 0, 393, 73
    android.app, 225, 159, 24, 0, 2990, 1053
    android.content, 161, 146, 1, 0, 1872, 565
    android.graphics, 81, 71, 0, 0, 1989, 336
    android.icu, 70, 67, 0, 0, 2038, 1472
    android.media, 12, 8, 14, 0, 802, 590
    android.net, 20, 20, 2, 0, 255, 221
    android.widget, 50, 43, 0, 0, 1403, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 404 added, 4 removed
  - totals now: 0 hot methods, 0 methods, 16831 classes
  - totals before: 0 hot methods, 0 methods, 16431 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 233, 0, 0, 9524
    com.android, 0, 0, 69, 3, 0, 3550
    java, 0, 0, 29, 1, 0, 2039
    android.view, 0, 0, 38, 0, 0, 953
    android.hardware, 0, 0, 18, 0, 0, 807
    android.animation, 0, 0, 2, 0, 0, 73
    android.app, 0, 0, 41, 0, 0, 1030
    android.content, 0, 0, 10, 0, 0, 562
    android.graphics, 0, 0, 5, 0, 0, 336
    android.icu, 0, 0, 1, 0, 0, 1472
    android.media, 0, 0, 22, 0, 0, 587
    android.net, 0, 0, 3, 0, 0, 219
    android.widget, 0, 0, 5, 0, 0, 380

File boot-image-profile.txt
  - hot methods: 1335 added, 1056 removed
  - methods: 1335 added, 1056 removed
  - classes: 111 added, 1 removed
  - totals now: 22667 hot methods, 22667 methods, 13777 classes
  - totals before: 22388 hot methods, 22388 methods, 13667 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1208, 1010, 77, 0, 21020, 9564
    com.android, 127, 46, 32, 1, 1551, 3140
    android.view, 236, 189, 11, 0, 3426, 960
    android.hardware, 13, 5, 5, 0, 480, 812
    android.animation, 11, 11, 0, 0, 393, 73
    android.app, 225, 159, 24, 0, 2990, 1053
    android.content, 161, 146, 1, 0, 1872, 565
    android.graphics, 81, 71, 0, 0, 1989, 336
    android.icu, 70, 67, 0, 0, 2038, 1472
    android.media, 12, 8, 14, 0, 802, 590
    android.net, 20, 20, 2, 0, 255, 221
    android.widget, 50, 43, 0, 0, 1403, 381

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 332 added, 3 removed
  - totals now: 0 hot methods, 0 methods, 13690 classes
  - totals before: 0 hot methods, 0 methods, 13361 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 233, 0, 0, 9493
    com.android, 0, 0, 57, 3, 0, 3128
    android.view, 0, 0, 38, 0, 0, 953
    android.hardware, 0, 0, 18, 0, 0, 807
    android.animation, 0, 0, 2, 0, 0, 73
    android.app, 0, 0, 41, 0, 0, 1030
    android.content, 0, 0, 10, 0, 0, 562
    android.graphics, 0, 0, 5, 0, 0, 336
    android.icu, 0, 0, 1, 0, 0, 1472
    android.media, 0, 0, 22, 0, 0, 587
    android.net, 0, 0, 3, 0, 0, 219
    android.widget, 0, 0, 5, 0, 0, 380

File art-profile
  - hot methods: 2293 added, 24736 removed
  - methods: 2286 added, 50806 removed
  - classes: 6 added, 3905 removed
  - totals now: 10167 hot methods, 10167 methods, 1285 classes
  - totals before: 32610 hot methods, 58687 methods, 5184 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 22, 397, 0, 118, 66, 25
    com.android, 2271, 24333, 6, 3718, 10101, 1242
    android.hardware, 20, 315, 0, 85, 51, 14
    android.app, 0, 2, 0, 3, 0, 0
    android.content, 0, 0, 0, 2, 1, 3
    android.net, 2, 64, 0, 21, 12, 6

InternalReferenceRawProfileId: 33626
InternalReferenceCandidateProfileId: 33629

Test: build & benchmark

Change-Id: Ib85d606d48727fd6dc0c0ecd094f7948e00464ca
parent 0aadb77a
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