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

Commit df3416ff authored by art-benchmark-service's avatar art-benchmark-service Committed by Islam Elbanna
Browse files

Update boot image and system server profiles [M36C30P38S0PP]

Bug: 254051423
Bypass the "Performance (system-processes-memory-direct, blocking)":
since the increase in the services.odex_bytes by 200KB is justified by
the memory and app startup improvements.

Test: go/art-benchmark?p=BootImageProfileId:58243&f=CandidateName:in:58247

= Perf stats =
(lower is better)

Regular update to the boot image profiles. Benchmark shows improvements in cold app startup and memory and almost no impact on other metrics, but with small increase in the total code size by 450KB.

             Avg % [Confidence interval min-max %]
App Startup:           -2.05 [-6.43, 2.33]
App File RSS:          -0.8 [-3.78, 2.18]
App Anon RSS + Swap:   -2.7 [-10.09, 4.69]
Memory(PSS):           -1.91 [-3.85, 0.03]
Memory(RSS):           -1.17 [-3.15, 0.81]
Memory(Private-dirty): -6.71 [-10.29, -3.12]
Boot time:             -0.05 [-0.53, 0.43]
Code size:             +0.454MB (+0.625%)

Ignore-AOSP-First: Boot image profiles
Flag: EXEMPT NONE regular update to the boot image profiles
BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code

=Generation Strategy=

method_threshold: 0.36
image_class_threshold: 0.3
preloaded_classes_threshold: 0.38
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:CLASS:android"
  value: 0.042857144
}
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:METHOD:android"
  value: 0.051428575
}
priority_packages_thresholds {
  key: "service-art.jar.prof:CLASS:android"
  value: 0.042857144
}
priority_packages_thresholds {
  key: "service-art.jar.prof:METHOD:android"
  value: 0.051428575
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:CLASS:android"
  value: 0.042857144
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:METHOD:android"
  value: 0.051428575
}
priority_packages_thresholds {
  key: "service-uwb.jar.prof:CLASS:android"
  value: 0.042857144
}
priority_packages_thresholds {
  key: "service-uwb.jar.prof:METHOD:android"
  value: 0.051428575
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:CLASS:android"
  value: 0.042857144
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:METHOD:android"
  value: 0.051428575
}
priority_packages_thresholds {
  key: "services.jar.prof:CLASS:android"
  value: 0.042857144
}
priority_packages_thresholds {
  key: "services.jar.prof:METHOD:android"
  value: 0.051428575
}
priority_packages_thresholds {
  key: "wear-service.jar.prof:CLASS:android"
  value: 0.042857144
}
priority_packages_thresholds {
  key: "wear-service.jar.prof:METHOD:android"
  value: 0.051428575
}

=Profile stats=

Data info:
- total aggregations: 1862
- number of (device types, builds): 175

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 176 added, 11 removed
  - totals now: 0 hot methods, 0 methods, 18876 classes
  - totals before: 0 hot methods, 0 methods, 18711 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 87, 9, 0, 11060
    com.android, 0, 0, 74, 2, 0, 3748
    java, 0, 0, 11, 0, 0, 2222
    android.view, 0, 0, 1, 3, 0, 1138
    android.hardware, 0, 0, 0, 1, 0, 890
    android.app, 0, 0, 6, 1, 0, 1231
    android.graphics, 0, 0, 1, 0, 0, 383
    android.net, 0, 0, 0, 1, 0, 213

File boot-image-profile.txt
  - hot methods: 115 added, 107 removed
  - methods: 93 added, 107 removed
  - classes: 120 added, 14 removed
  - totals now: 23394 hot methods, 23416 methods, 15478 classes
  - totals before: 23386 hot methods, 23430 methods, 15372 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 73, 95, 82, 7, 21699, 11044
    com.android, 42, 12, 33, 2, 1598, 3268
    java, 0, 0, 4, 5, 2, 167
    android.view, 11, 29, 1, 3, 3470, 1139
    android.hardware, 3, 3, 0, 1, 495, 890
    android.animation, 2, 2, 0, 0, 419, 90
    android.app, 31, 15, 3, 1, 3085, 1232
    android.content, 5, 2, 0, 0, 1954, 640
    android.graphics, 1, 1, 1, 0, 1986, 383

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 166 added, 12 removed
  - totals now: 0 hot methods, 0 methods, 15441 classes
  - totals before: 0 hot methods, 0 methods, 15287 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 86, 8, 0, 11025
    com.android, 0, 0, 74, 3, 0, 3256
    java, 0, 0, 5, 1, 0, 163
    android.view, 0, 0, 1, 3, 0, 1138
    android.hardware, 0, 0, 0, 1, 0, 890
    android.app, 0, 0, 6, 1, 0, 1231
    android.graphics, 0, 0, 1, 0, 0, 383

File art-profile
  - hot methods: 459 added, 264 removed
  - methods: 459 added, 264 removed
  - classes: 13 added, 18 removed
  - totals now: 4038 hot methods, 4038 methods, 279 classes
  - totals before: 3843 hot methods, 3843 methods, 284 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 4, 0, 6, 8, 26, 114
    com.android, 455, 264, 6, 6, 4012, 88
    java, 0, 0, 1, 4, 0, 74
    android.view, 0, 0, 2, 2, 0, 16
    android.hardware, 4, 0, 0, 0, 23, 7
    android.app, 0, 0, 1, 2, 0, 22
    android.content, 0, 0, 1, 1, 1, 11
    android.media, 0, 0, 0, 1, 0, 6

InternalReferenceRawProfileId: 58243
InternalReferenceCandidateProfileId: 58247

Test: build & benchmark

Change-Id: I664a925e91fc84fcf849392f699cb074a738d4e5
parent 1a5abff5
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