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

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

Update boot image and system server profiles [M60C35P85S0PP]

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
parent 4682a93c
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