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

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

Update boot image and system server profiles [M31C26P62S0PP]

Bug: 254051423

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

= Perf stats =
(lower is better)

Regular update to the boot image profiles, Benchmark shows almost no impact on app cold startup time, boot-time and memory besides some code size reduction.

         Avg % [Confidence interval min-max %]
Startup: -0.66 [-2.97, 1.64]
Memory(PSS): 0.65 [-1.65, 2.97]
Boot time: 0.14 [-1.27, 1.55]
Code size (.oat + .art + .odex): -0.19MB (-0.22%)

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

=Generation Strategy=

method_threshold: 0.31
image_class_threshold: 0.26
preloaded_classes_threshold: 0.62
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:CLASS:android"
  value: 0.018571427
}
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:METHOD:android"
  value: 0.022142857
}
priority_packages_thresholds {
  key: "service-art.jar.prof:CLASS:android"
  value: 0.018571427
}
priority_packages_thresholds {
  key: "service-art.jar.prof:METHOD:android"
  value: 0.022142857
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:CLASS:android"
  value: 0.018571427
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:METHOD:android"
  value: 0.022142857
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:CLASS:android"
  value: 0.018571427
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:METHOD:android"
  value: 0.022142857
}
priority_packages_thresholds {
  key: "services.jar.prof:CLASS:android"
  value: 0.018571427
}
priority_packages_thresholds {
  key: "services.jar.prof:METHOD:android"
  value: 0.022142857
}

=Profile stats=

Data info:
- total aggregations: 21
- number of (device types, builds): 8

File boot-image-profile.txt
  - hot methods: 3096 added, 3337 removed
  - methods: 3096 added, 3337 removed
  - classes: 445 added, 92 removed
  - totals now: 32323 hot methods, 32323 methods, 17621 classes
  - totals before: 32564 hot methods, 32564 methods, 17268 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1827, 1941, 366, 54, 20965, 10262
    com.android, 137, 229, 23, 37, 2334, 3467
    java, 889, 923, 43, 1, 7057, 2143
    android.view, 352, 389, 56, 10, 3414, 1104
    android.hardware, 20, 26, 11, 1, 490, 869
    android.animation, 21, 19, 6, 0, 413, 88
    android.app, 119, 146, 56, 0, 2927, 1164
    android.content, 193, 196, 40, 0, 1890, 625
    android.graphics, 160, 161, 26, 0, 1973, 371
    android.icu, 233, 233, 25, 0, 2048, 1499
    android.media, 19, 19, 22, 0, 792, 626
    android.net, 40, 41, 8, 0, 251, 228
    android.widget, 149, 148, 35, 0, 1404, 432

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 25 added, 92 removed
  - totals now: 0 hot methods, 0 methods, 17159 classes
  - totals before: 0 hot methods, 0 methods, 17226 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, 54, 0, 9889
    com.android, 0, 0, 2, 37, 0, 3440
    java, 0, 0, 0, 1, 0, 2097
    android.view, 0, 0, 0, 10, 0, 1046
    android.hardware, 0, 0, 0, 1, 0, 857
    android.app, 0, 0, 1, 0, 0, 1108
    android.content, 0, 0, 9, 0, 0, 592
    android.icu, 0, 0, 2, 0, 0, 1476
    android.media, 0, 0, 2, 0, 0, 603
    android.net, 0, 0, 4, 0, 0, 224

File boot-image-profile.txt
  - hot methods: 1925 added, 2028 removed
  - methods: 1925 added, 2028 removed
  - classes: 382 added, 56 removed
  - totals now: 22408 hot methods, 22408 methods, 14381 classes
  - totals before: 22511 hot methods, 22511 methods, 14055 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1828, 1925, 366, 54, 20901, 10231
    com.android, 97, 103, 15, 2, 1410, 3065
    android.view, 357, 392, 56, 10, 3414, 1104
    android.hardware, 20, 26, 11, 1, 490, 869
    android.animation, 19, 17, 6, 0, 413, 88
    android.app, 118, 143, 56, 0, 2927, 1164
    android.content, 194, 196, 40, 0, 1890, 625
    android.graphics, 160, 161, 26, 0, 1973, 371
    android.icu, 233, 234, 25, 0, 2048, 1499
    android.media, 18, 18, 22, 0, 792, 626
    android.net, 41, 42, 8, 0, 251, 228
    android.widget, 149, 149, 35, 0, 1404, 432

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 23 added, 56 removed
  - totals now: 0 hot methods, 0 methods, 13986 classes
  - totals before: 0 hot methods, 0 methods, 14019 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 21, 54, 0, 9858
    com.android, 0, 0, 2, 2, 0, 3046
    android.view, 0, 0, 0, 10, 0, 1046
    android.hardware, 0, 0, 0, 1, 0, 857
    android.app, 0, 0, 1, 0, 0, 1108
    android.content, 0, 0, 9, 0, 0, 592
    android.icu, 0, 0, 2, 0, 0, 1476
    android.media, 0, 0, 2, 0, 0, 603
    android.net, 0, 0, 4, 0, 0, 224

File art-profile
  - hot methods: 2917 added, 2661 removed
  - methods: 2917 added, 2661 removed
  - classes: 15 added, 81 removed
  - totals now: 14260 hot methods, 14260 methods, 1428 classes
  - totals before: 14004 hot methods, 14004 methods, 1494 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 10, 17, 0, 0, 79, 25
    com.android, 2901, 2644, 14, 79, 14175, 1374
    android.hardware, 10, 17, 0, 0, 63, 12

InternalReferenceRawProfileId: 37886
InternalReferenceCandidateProfileId: 37892

Test: build & benchmark

Change-Id: I4fffd2b2601f09a3b0acfdcdaebb0e2d6768fe64
parent fa838838
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