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

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

Update boot image and system server profiles [M27C22P58S0PP]

Bug: 254051423

Test: go/art-benchmark?p=BootImageProfileId:36711&f=CandidateName:in:36720
Test: ATP test https://android-build.googleplex.com/builds/abtd/run/L47100000963607173

= Perf stats =
(lower is better)

Regular update to the boot image profiles, Benchmark shows an improvement in app cold startup time and good code size reduction, besides no noticeable impact on memory and boot time. This change also will resolve some of the regressions from the prev updates.

         Avg % [Confidence interval min-max %]
Startup: -1.37 [-2.51, -0.23]
Memory(PSS): -0.13 [-2.38, 2.13]
Boot time: 0.09 [-0.9, 1.09]
Code size (.oat + .art + .odex): -0.61MB (-0.73%)

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

=Generation Strategy=

method_threshold: 0.27
image_class_threshold: 0.22
preloaded_classes_threshold: 0.58
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:CLASS:android"
  value: 0.015714286
}
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:METHOD:android"
  value: 0.019285714
}
priority_packages_thresholds {
  key: "service-art.jar.prof:CLASS:android"
  value: 0.015714286
}
priority_packages_thresholds {
  key: "service-art.jar.prof:METHOD:android"
  value: 0.019285714
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:CLASS:android"
  value: 0.015714286
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:METHOD:android"
  value: 0.019285714
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:CLASS:android"
  value: 0.015714286
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:METHOD:android"
  value: 0.019285714
}
priority_packages_thresholds {
  key: "services.jar.prof:CLASS:android"
  value: 0.015714286
}
priority_packages_thresholds {
  key: "services.jar.prof:METHOD:android"
  value: 0.019285714
}

=Profile stats=

Data info:
- total aggregations: 84
- number of (device types, builds): 28

File boot-image-profile.txt
  - hot methods: 157 added, 87 removed
  - methods: 157 added, 87 removed
  - classes: 15 added, 9 removed
  - totals now: 32556 hot methods, 32556 methods, 17270 classes
  - totals before: 32486 hot methods, 32486 methods, 17264 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 120, 48, 15, 8, 21070, 9952
    java, 37, 38, 0, 0, 7093, 2101
    android.view, 41, 10, 7, 1, 3448, 1058
    android.hardware, 8, 4, 0, 0, 501, 859
    android.animation, 14, 0, 7, 0, 411, 82
    android.app, 17, 5, 1, 0, 2954, 1108
    android.content, 16, 11, 0, 0, 1893, 585
    android.graphics, 5, 0, 0, 0, 1973, 345
    android.widget, 2, 0, 0, 0, 1404, 399

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 30 added, 10 removed
  - totals now: 0 hot methods, 0 methods, 17216 classes
  - totals before: 0 hot methods, 0 methods, 17196 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 23, 9, 0, 9910
    com.android, 0, 0, 6, 0, 0, 3475
    java, 0, 0, 1, 0, 0, 2098
    android.view, 0, 0, 6, 0, 0, 1047
    android.hardware, 0, 0, 5, 0, 0, 858
    android.animation, 0, 0, 2, 0, 0, 75
    android.app, 0, 0, 6, 0, 0, 1104
    android.media, 0, 0, 1, 0, 0, 601

File boot-image-profile.txt
  - hot methods: 120 added, 48 removed
  - methods: 120 added, 48 removed
  - classes: 15 added, 10 removed
  - totals now: 22519 hot methods, 22519 methods, 14057 classes
  - totals before: 22447 hot methods, 22447 methods, 14052 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 120, 48, 15, 8, 21006, 9921
    java, 0, 0, 0, 1, 2, 115
    android.view, 41, 10, 7, 1, 3448, 1058
    android.hardware, 8, 4, 0, 0, 501, 859
    android.animation, 14, 0, 7, 0, 411, 82
    android.app, 17, 5, 1, 0, 2954, 1108
    android.content, 16, 11, 0, 0, 1893, 585
    android.graphics, 5, 0, 0, 0, 1973, 345
    android.widget, 2, 0, 0, 0, 1404, 399

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 29 added, 9 removed
  - totals now: 0 hot methods, 0 methods, 14007 classes
  - totals before: 0 hot methods, 0 methods, 13987 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 23, 7, 0, 9879
    com.android, 0, 0, 6, 0, 0, 3046
    java, 0, 0, 0, 1, 0, 115
    android.view, 0, 0, 6, 0, 0, 1047
    android.hardware, 0, 0, 5, 0, 0, 858
    android.animation, 0, 0, 2, 0, 0, 75
    android.app, 0, 0, 6, 0, 0, 1104
    android.media, 0, 0, 1, 0, 0, 601

File art-profile
  - hot methods: 2492 added, 4332 removed
  - methods: 2492 added, 4332 removed
  - classes: 11 added, 1219 removed
  - totals now: 12752 hot methods, 12752 methods, 1486 classes
  - totals before: 14592 hot methods, 14592 methods, 2694 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 30, 30, 1, 21, 91, 25
    com.android, 2462, 4302, 10, 1181, 12661, 1432
    android.hardware, 28, 29, 0, 17, 75, 12
    android.app, 0, 1, 0, 2, 0, 2
    android.content, 0, 0, 0, 1, 2, 3
    android.net, 2, 0, 0, 0, 10, 3

InternalReferenceRawProfileId: 36711
InternalReferenceCandidateProfileId: 36720

Test: build & benchmark

Change-Id: Ibd13bc54c1fd8927030d41f3670021379ebaccc8
parent 9ebc63fa
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