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

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

Update boot image and system server profiles [M84C39P60S0PP]

Bug: 254051423

Test: go/art-benchmark?p=BootImageProfileId:39887&f=CandidateName:in:39896

= Perf stats =
(lower is better)

Regular update to the boot image profiles. Benchmark shows a great code size reduction of 3.3MB and improvement in App-memory and system-memory with almost no impact on startup time and boot Time.

             Avg % [Confidence interval min-max %]
App Startup:            0.31 [-2.42, 3.04]
App RSS:               -0.62 [-1.48, 0.25]
App Anon RSS + Swap:   -1.86 [-3.46, -0.27]
Memory(PSS):           -1.74 [-3.78, 0.29]
Memory(RSS):           -0.06 [-0.72, 0.6]
Memory(Private-dirty): -3.52 [-5.99, -1.05]
Boot time:              0.35 [-0.8, 1.5]
Code size:             -3.36 MB (-3.93%)

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

=Generation Strategy=

method_threshold: 0.84
image_class_threshold: 0.39
preloaded_classes_threshold: 0.6
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:CLASS:android"
  value: 0.027857142
}
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:METHOD:android"
  value: 0.06
}
priority_packages_thresholds {
  key: "service-art.jar.prof:CLASS:android"
  value: 0.027857142
}
priority_packages_thresholds {
  key: "service-art.jar.prof:METHOD:android"
  value: 0.06
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:CLASS:android"
  value: 0.027857142
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:METHOD:android"
  value: 0.06
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:CLASS:android"
  value: 0.027857142
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:METHOD:android"
  value: 0.06
}
priority_packages_thresholds {
  key: "services.jar.prof:CLASS:android"
  value: 0.027857142
}
priority_packages_thresholds {
  key: "services.jar.prof:METHOD:android"
  value: 0.06
}

=Profile stats=

Data info:
- total aggregations: 1790
- number of (device types, builds): 234

File boot-image-profile.txt
  - hot methods: 1031 added, 1140 removed
  - methods: 1031 added, 1140 removed
  - classes: 153 added, 57 removed
  - totals now: 32516 hot methods, 32516 methods, 17849 classes
  - totals before: 32625 hot methods, 32625 methods, 17753 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 943, 1038, 79, 47, 20957, 10423
    com.android, 52, 68, 40, 8, 2326, 3536
    java, 31, 29, 19, 1, 7241, 2130
    android.view, 199, 216, 9, 2, 3398, 1147
    android.hardware, 1, 16, 4, 9, 469, 873
    android.animation, 63, 63, 0, 0, 413, 89
    android.app, 56, 69, 15, 8, 2923, 1185
    android.content, 71, 82, 2, 8, 1905, 635
    android.graphics, 88, 89, 0, 0, 1974, 371
    android.icu, 86, 91, 19, 7, 2043, 1497
    android.media, 12, 12, 4, 2, 792, 635
    android.net, 22, 22, 0, 0, 252, 222
    android.widget, 62, 63, 2, 0, 1403, 445

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 168 added, 70 removed
  - totals now: 0 hot methods, 0 methods, 17753 classes
  - totals before: 0 hot methods, 0 methods, 17655 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 80, 54, 0, 10365
    com.android, 0, 0, 49, 15, 0, 3514
    java, 0, 0, 20, 0, 0, 2118
    android.view, 0, 0, 16, 3, 0, 1143
    android.hardware, 0, 0, 4, 10, 0, 871
    android.app, 0, 0, 14, 6, 0, 1181
    android.content, 0, 0, 3, 7, 0, 633
    android.icu, 0, 0, 8, 7, 0, 1486
    android.media, 0, 0, 2, 3, 0, 626
    android.net, 0, 0, 0, 1, 0, 221
    android.widget, 0, 0, 3, 1, 0, 443

File boot-image-profile.txt
  - hot methods: 995 added, 1106 removed
  - methods: 995 added, 1106 removed
  - classes: 119 added, 56 removed
  - totals now: 22386 hot methods, 22386 methods, 14605 classes
  - totals before: 22497 hot methods, 22497 methods, 14542 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 943, 1038, 79, 47, 20893, 10392
    com.android, 52, 68, 37, 8, 1396, 3124
    java, 0, 0, 0, 1, 2, 114
    android.view, 199, 216, 9, 2, 3398, 1147
    android.hardware, 1, 16, 4, 9, 469, 873
    android.animation, 63, 63, 0, 0, 413, 89
    android.app, 56, 69, 15, 8, 2923, 1185
    android.content, 71, 82, 2, 8, 1905, 635
    android.graphics, 88, 89, 0, 0, 1974, 371
    android.icu, 86, 91, 19, 7, 2043, 1497
    android.media, 12, 12, 4, 2, 792, 635
    android.net, 22, 22, 0, 0, 252, 222
    android.widget, 62, 63, 2, 0, 1403, 445

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 128 added, 70 removed
  - totals now: 0 hot methods, 0 methods, 14523 classes
  - totals before: 0 hot methods, 0 methods, 14465 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 80, 54, 0, 10334
    com.android, 0, 0, 46, 15, 0, 3103
    java, 0, 0, 0, 1, 0, 114
    android.view, 0, 0, 16, 3, 0, 1143
    android.hardware, 0, 0, 4, 10, 0, 871
    android.app, 0, 0, 14, 6, 0, 1181
    android.content, 0, 0, 3, 7, 0, 633
    android.icu, 0, 0, 8, 7, 0, 1486
    android.media, 0, 0, 2, 3, 0, 626
    android.net, 0, 0, 0, 1, 0, 221
    android.widget, 0, 0, 3, 1, 0, 443

File art-profile
  - hot methods: 1362 added, 5742 removed
  - methods: 1362 added, 5742 removed
  - classes: 26 added, 5 removed
  - totals now: 4680 hot methods, 4680 methods, 78 classes
  - totals before: 9060 hot methods, 9060 methods, 57 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 4, 29, 1, 0, 22, 1
    com.android, 1358, 5713, 25, 4, 4658, 77
    java, 0, 0, 0, 1, 0, 0
    android.hardware, 3, 26, 1, 0, 19, 1
    android.net, 1, 3, 0, 0, 2, 0

InternalReferenceRawProfileId: 39887
InternalReferenceCandidateProfileId: 39896

Test: build & benchmark

Change-Id: If7d2699a79a04490dc1b82537456da5022edea2e
parent b8d1fb89
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