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

Skip to content
Commit 1c45a255 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
Bug: 294603422
Test: go/art-benchmark?p=BootImageProfileId:36349
Test: ATP test http://shortn/_aT2kwyTb9i

= Perf stats =
(lower is better)

Regular update to the boot image profiles, which is adding some missing inline cache to the boot image profiles. Benchmark shows slight improvement in startup time, memory and no noticeable impact on the total boot time, with a very small increase in code size which could be an acceptable cost.

         Avg % (Confidence interval min-max %)
Startup: -0.35% (-1.57 -> 0.87)
Memory(PSS): -0.85% (-2.26 -> 0.55)
Boot time: 0.11 (-4.85% -> 5.08)
Code size (.oat + .art + .odex): 0.02MB (0.02%)

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: 5691
- number of (device types, builds): 136

File boot-image-profile.txt
  - hot methods: 2140 added, 2289 removed
  - methods: 2140 added, 2289 removed
  - classes: 1 added, 4 removed
  - totals now: 32814 hot methods, 32814 methods, 17363 classes
  - totals before: 32963 hot methods, 32963 methods, 17366 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1354, 1481, 1, 1, 21263, 10047
    com.android, 106, 117, 0, 1, 2461, 3478
    java, 508, 513, 0, 1, 7121, 2101
    android.view, 249, 272, 0, 0, 3491, 1047
    android.hardware, 14, 27, 0, 0, 508, 858
    android.animation, 28, 29, 0, 0, 414, 82
    android.app, 85, 112, 0, 0, 2946, 1099
    android.content, 137, 143, 0, 0, 1892, 584
    android.graphics, 138, 142, 0, 0, 1975, 345
    android.icu, 196, 205, 0, 0, 2055, 1474
    android.media, 31, 32, 0, 0, 793, 604
    android.net, 17, 18, 1, 0, 251, 221
    android.widget, 139, 147, 0, 0, 1409, 399

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 1 added, 1 removed
  - totals now: 0 hot methods, 0 methods, 17333 classes
  - totals before: 0 hot methods, 0 methods, 17333 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 1, 0, 0, 10029
    com.android, 0, 0, 0, 1, 0, 3472
    android.net, 0, 0, 1, 0, 0, 221

File boot-image-profile.txt
  - hot methods: 1426 added, 1564 removed
  - methods: 1426 added, 1564 removed
  - classes: 1 added, 2 removed
  - totals now: 22747 hot methods, 22747 methods, 14153 classes
  - totals before: 22885 hot methods, 22885 methods, 14154 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1350, 1477, 1, 1, 21199, 10016
    com.android, 76, 87, 0, 1, 1451, 3049
    android.view, 249, 272, 0, 0, 3491, 1047
    android.hardware, 14, 27, 0, 0, 508, 858
    android.animation, 28, 29, 0, 0, 414, 82
    android.app, 85, 112, 0, 0, 2946, 1099
    android.content, 137, 143, 0, 0, 1892, 584
    android.graphics, 138, 142, 0, 0, 1975, 345
    android.icu, 196, 205, 0, 0, 2055, 1474
    android.media, 31, 32, 0, 0, 793, 604
    android.net, 17, 18, 1, 0, 251, 221
    android.widget, 139, 147, 0, 0, 1409, 399

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 1 added, 1 removed
  - totals now: 0 hot methods, 0 methods, 14127 classes
  - totals before: 0 hot methods, 0 methods, 14127 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 1, 0, 0, 9998
    com.android, 0, 0, 0, 1, 0, 3043
    android.net, 0, 0, 1, 0, 0, 221

File art-profile
  - hot methods: 1386 added, 2383 removed
  - methods: 1386 added, 2383 removed
  - classes: 5 added, 22 removed
  - totals now: 12089 hot methods, 12089 methods, 1465 classes
  - totals before: 13086 hot methods, 13086 methods, 1482 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 1, 14, 4, 0, 66, 32
    com.android, 1385, 2369, 0, 21, 12023, 1403
    java, 0, 0, 1, 0, 0, 1
    android.hardware, 1, 14, 0, 0, 50, 13

InternalReferenceRawProfileId: 36330
InternalReferenceCandidateProfileId: 36335

Test: build & benchmark

Change-Id: I4613ceb8f5b25bc52f2f23ca9c106391ebb7d22f
parent 6c497788
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