Skip to content
Commit f45ca2fb authored by art-benchmark-service's avatar art-benchmark-service Committed by Calin Juravle
Browse files

Update boot image and system server profiles [M5C5P90S0PP]

 = Perf stats =
(lower is better)

Big reduction in the overall memory consumptions as well as faster cold startups. The trade-off is a slight increase of code size.
 
Cold startup (speed-profile): -2.45%
PSS: -6.93%
RSS: -2.06%
Privat Dirty: -8.15%
Boot time: -0.71%
Code size: +5.73%

=Generation Strategy=

method_threshold: 0.05
image_class_threshold: 0.05
preloaded_classes_threshold: 0.9
upgrade_startup_methods_to_hot: true
system_server_threshold: 0.0
priority_packages_thresholds {
  key: "android"
  value: 0.02
}
priority_packages_thresholds {
  key: "com.android.systemui"
  value: 0.02
}
priority_packages_thresholds {
  key: "com.google.android.GoogleCamera"
  value: 0.02
}
priority_packages_thresholds {
  key: "com.google.android.dialer"
  value: 0.02
}
priority_packages_thresholds {
  key: "com.google.android.gms"
  value: 0.02
}
priority_packages_thresholds {
  key: "com.google.android.webview"
  value: 0.02
}

=Profile stats=

Data info:
- total aggregations: 4778
- number of (device types, builds): 138

File boot-image-profile.txt
  - hot methods: 4497 added, 2661 removed
  - methods: 4497 added, 2661 removed
  - classes: 760 added, 34 removed
  - totals now: 30057 hot methods, 30061 methods, 15940 classes
  - totals before: 28221 hot methods, 28225 methods, 15214 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 3051, 1971, 263, 22, 19091, 9571
    com.android, 348, 157, 436, 12, 2242, 3616
    java, 799, 398, 59, 0, 6894, 1807
    android.view, 573, 390, 60, 1, 2887, 855
    android.hardware, 51, 29, 3, 0, 334, 790
    android.bluetooth, 21, 1, 1, 0, 168, 170
    android.animation, 105, 104, 0, 0, 347, 71
    android.app, 350, 168, 38, 1, 2620, 979
    android.content, 272, 181, 17, 0, 1851, 584
    android.graphics, 319, 310, 16, 0, 1700, 319
    android.icu, 241, 152, 0, 0, 1847, 1528
    android.media, 67, 26, 13, 2, 689, 564
    android.net, 78, 49, 8, 3, 662, 415
    android.widget, 246, 182, 11, 0, 1260, 363

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 0 added, 18 removed
  - totals now: 0 hot methods, 0 methods, 13956 classes
  - totals before: 0 hot methods, 0 methods, 13974 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 0, 15, 0, 8509
    com.android, 0, 0, 0, 3, 0, 2801
    android.view, 0, 0, 0, 1, 0, 742
    android.app, 0, 0, 0, 2, 0, 863
    android.graphics, 0, 0, 0, 2, 0, 293
    android.media, 0, 0, 0, 1, 0, 498

File art-profile
  - hot methods: 4156 added, 2740 removed
  - methods: 4967 added, 3444 removed
  - classes: 415 added, 11 removed
  - totals now: 31102 hot methods, 45893 methods, 5211 classes
  - totals before: 29686 hot methods, 44370 methods, 4807 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 26, 34, 8, 1, 451, 290
    com.android, 4107, 2698, 407, 10, 30498, 4879
    android.hardware, 12, 12, 0, 0, 242, 127
    android.content, 0, 0, 0, 0, 2, 6
    android.net, 14, 21, 8, 1, 185, 138

InternalReferenceRawProfileId: 3751
InternalReferenceCandidateProfileId: 3761

Test: build & benchmark
Bug: 169104277
Change-Id: Ie9de3cba7c952b28cb48e53d44cab6e21cc8d81f
parent 0277e97c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment