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

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

Update boot image and system server profiles [M44C35P56S0PP]

Bug: 254051423

Test: go/art-benchmark?p=BootImageProfileId:54227&f=CandidateName:in:54235

= Perf stats =
(lower is better)

Regular update to the boot image profiles. Benchmark shows improvements for Apps startup and boot memory, with no impact on boot time, but with an increase of code size by 391KB which could be an acceptable cost given the improvmenet in the other metrics.

             Avg % [Confidence interval min-max %]
App Startup:           -2.99 [-6.52, 0.53]
App File RSS:          -3.63 [-16.14, 8.88]
App Anon RSS + Swap:   -1.37 [-16.88, 14.14]
Memory(PSS):           -1.25 [-3.92, 1.41]
Memory(RSS):           -1.3 [-4.02, 1.42]
Memory(Private-dirty): -2.69 [-9.54, 4.16]
Boot time:             +0.48 [-0.09, 1.06]
Code size:             +0.39MB (0.50%)

Ignore-AOSP-First: Boot image profiles
Flag: EXEMPT resource only update
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
Bypass the increase in boot-framework.oat_bytes and services.odex_bytes as it is justfiled by the other improvements in startup time and memory

=Generation Strategy=

method_threshold: 0.44
image_class_threshold: 0.35
preloaded_classes_threshold: 0.56
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:CLASS:android"
  value: 0.05
}
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:METHOD:android"
  value: 0.06285714
}
priority_packages_thresholds {
  key: "service-art.jar.prof:CLASS:android"
  value: 0.05
}
priority_packages_thresholds {
  key: "service-art.jar.prof:METHOD:android"
  value: 0.06285714
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:CLASS:android"
  value: 0.05
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:METHOD:android"
  value: 0.06285714
}
priority_packages_thresholds {
  key: "service-uwb.jar.prof:CLASS:android"
  value: 0.05
}
priority_packages_thresholds {
  key: "service-uwb.jar.prof:METHOD:android"
  value: 0.06285714
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:CLASS:android"
  value: 0.05
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:METHOD:android"
  value: 0.06285714
}
priority_packages_thresholds {
  key: "services.jar.prof:CLASS:android"
  value: 0.05
}
priority_packages_thresholds {
  key: "services.jar.prof:METHOD:android"
  value: 0.06285714
}

=Profile stats=

Data info:
- total aggregations: 1789
- number of (device types, builds): 156

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 423 added, 72 removed
  - totals now: 0 hot methods, 0 methods, 18159 classes
  - totals before: 0 hot methods, 0 methods, 17808 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 289, 58, 0, 10621
    com.android, 0, 0, 86, 13, 0, 3635
    java, 0, 0, 8, 1, 0, 2090
    android.view, 0, 0, 17, 4, 0, 1129
    android.hardware, 0, 0, 11, 2, 0, 880
    android.app, 0, 0, 29, 6, 0, 1200
    android.content, 0, 0, 5, 0, 0, 631
    android.graphics, 0, 0, 3, 3, 0, 372
    android.icu, 0, 0, 2, 1, 0, 1490
    android.media, 0, 0, 7, 8, 0, 624
    android.net, 0, 0, 1, 10, 0, 207
    android.widget, 0, 0, 2, 1, 0, 425

File boot-image-profile.txt
  - hot methods: 673 added, 99 removed
  - methods: 1058 added, 99 removed
  - classes: 390 added, 64 removed
  - totals now: 22898 hot methods, 23283 methods, 14965 classes
  - totals before: 22324 hot methods, 22324 methods, 14639 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 600, 98, 309, 50, 21336, 10653
    com.android, 73, 1, 66, 13, 1465, 3208
    android.view, 133, 6, 22, 6, 3486, 1136
    android.hardware, 13, 3, 13, 0, 476, 884
    android.animation, 7, 2, 0, 0, 418, 89
    android.app, 143, 36, 34, 6, 3019, 1209
    android.content, 23, 5, 5, 1, 1924, 633
    android.graphics, 11, 3, 5, 0, 1982, 377
    android.icu, 22, 1, 2, 0, 2097, 1491
    android.media, 0, 5, 6, 5, 785, 631
    android.net, 8, 4, 0, 11, 253, 207
    android.widget, 2, 0, 2, 1, 1401, 426

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 365 added, 69 removed
  - totals now: 0 hot methods, 0 methods, 14883 classes
  - totals before: 0 hot methods, 0 methods, 14587 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 288, 58, 0, 10588
    com.android, 0, 0, 63, 11, 0, 3194
    android.view, 0, 0, 17, 4, 0, 1129
    android.hardware, 0, 0, 11, 2, 0, 880
    android.app, 0, 0, 29, 6, 0, 1200
    android.content, 0, 0, 5, 0, 0, 631
    android.graphics, 0, 0, 3, 3, 0, 372
    android.icu, 0, 0, 2, 1, 0, 1490
    android.media, 0, 0, 7, 8, 0, 624
    android.net, 0, 0, 1, 10, 0, 207
    android.widget, 0, 0, 2, 1, 0, 425

File art-profile
  - hot methods: 885 added, 681 removed
  - methods: 885 added, 681 removed
  - classes: 11 added, 1643 removed
  - totals now: 4344 hot methods, 4344 methods, 65 classes
  - totals before: 4140 hot methods, 4140 methods, 1697 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 1, 5, 17, 20, 5
    com.android, 885, 680, 6, 1592, 4324, 60
    android.hardware, 0, 1, 0, 8, 17, 0
    android.app, 0, 0, 2, 0, 0, 2
    android.content, 0, 0, 1, 3, 1, 1
    android.net, 0, 0, 0, 3, 2, 0

InternalReferenceRawProfileId: 54227
InternalReferenceCandidateProfileId: 54235

Test: build & benchmark

Change-Id: I6f7b112e372a08ba9fd660c1c50787e2a9d3fc98
parent 24969842
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment