Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
3394 commits behind the upstream repository.
  • art-benchmark-service's avatar
    3a157131
    Update boot image and system server profiles [M82C37P58S0PP] · 3a157131
    art-benchmark-service authored
    Bug: 254051423
    
    Test: go/art-benchmark?p=BootImageProfileId:39982&f=CandidateName:in:39985
    
    = Perf stats =
    (lower is better)
    
    Regular update to the boot image profiles. Benchmark shows a code size reduction of 0.5MB and improvements in App-memory and system-memory with a tiny improvement in boot Time.
    
                 Avg % [Confidence interval min-max %]
    App Startup:            0.42 [-1.59, 2.42]
    App RSS:               -0.49 [-1.15, 0.16]
    App Anon RSS + Swap:   -0.75 [-2.04, 0.53]
    Memory(PSS):           -0.25 [-1.1, 0.61]
    Memory(RSS):           -0.49 [-1.09, 0.12]
    Memory(Private-dirty): -2.6 [-4.54, -0.66]
    Boot time:             -0.57 [-1.44, 0.3]
    Code size:             -0.50MB (-0.607%)
    
    Ignore-AOSP-First: Boot image profiles
    BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
    
    =Generation Strategy=
    
    method_threshold: 0.82
    image_class_threshold: 0.37
    preloaded_classes_threshold: 0.58
    priority_packages_thresholds {
      key: "service-appsearch.jar.prof:CLASS:android"
      value: 0.026428571
    }
    priority_packages_thresholds {
      key: "service-appsearch.jar.prof:METHOD:android"
      value: 0.058571428
    }
    priority_packages_thresholds {
      key: "service-art.jar.prof:CLASS:android"
      value: 0.026428571
    }
    priority_packages_thresholds {
      key: "service-art.jar.prof:METHOD:android"
      value: 0.058571428
    }
    priority_packages_thresholds {
      key: "service-connectivity.jar.prof:CLASS:android"
      value: 0.026428571
    }
    priority_packages_thresholds {
      key: "service-connectivity.jar.prof:METHOD:android"
      value: 0.058571428
    }
    priority_packages_thresholds {
      key: "service-wifi.jar.prof:CLASS:android"
      value: 0.026428571
    }
    priority_packages_thresholds {
      key: "service-wifi.jar.prof:METHOD:android"
      value: 0.058571428
    }
    priority_packages_thresholds {
      key: "services.jar.prof:CLASS:android"
      value: 0.026428571
    }
    priority_packages_thresholds {
      key: "services.jar.prof:METHOD:android"
      value: 0.058571428
    }
    
    =Profile stats=
    
    Data info:
    - total aggregations: 1873
    - number of (device types, builds): 245
    
    File boot-image-profile.txt
      - hot methods: 610 added, 615 removed
      - methods: 610 added, 615 removed
      - classes: 17 added, 15 removed
      - totals now: 32511 hot methods, 32511 methods, 17851 classes
      - totals before: 32516 hot methods, 32516 methods, 17849 classes
    
      per package info as csv (selected):
        package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
        android, 575, 574, 8, 10, 20958, 10421
        com.android, 17, 23, 6, 4, 2320, 3538
        java, 9, 9, 2, 1, 7241, 2131
        android.view, 160, 164, 1, 0, 3394, 1148
        android.hardware, 3, 1, 0, 0, 471, 873
        android.animation, 46, 46, 0, 0, 413, 89
        android.app, 35, 35, 0, 2, 2923, 1183
        android.content, 74, 71, 0, 0, 1908, 635
        android.graphics, 76, 76, 3, 0, 1974, 374
        android.icu, 19, 19, 0, 0, 2043, 1497
        android.media, 0, 0, 2, 0, 792, 637
        android.net, 7, 7, 0, 0, 252, 222
        android.widget, 77, 77, 0, 0, 1403, 445
    
    File preloaded-classes
      - hot methods: 0 added, 0 removed
      - methods: 0 added, 0 removed
      - classes: 33 added, 24 removed
      - totals now: 0 hot methods, 0 methods, 17762 classes
      - totals before: 0 hot methods, 0 methods, 17753 classes
    
      per package info as csv (selected):
        package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
        android, 0, 0, 21, 14, 0, 10372
        com.android, 0, 0, 6, 5, 0, 3515
        java, 0, 0, 5, 5, 0, 2118
        android.view, 0, 0, 2, 3, 0, 1142
        android.hardware, 0, 0, 2, 0, 0, 873
        android.app, 0, 0, 1, 2, 0, 1180
        android.content, 0, 0, 0, 1, 0, 632
        android.graphics, 0, 0, 0, 3, 0, 368
        android.icu, 0, 0, 11, 0, 0, 1497
        android.media, 0, 0, 2, 0, 0, 628
    
    File boot-image-profile.txt
      - hot methods: 601 added, 606 removed
      - methods: 601 added, 606 removed
      - classes: 14 added, 14 removed
      - totals now: 22381 hot methods, 22381 methods, 14605 classes
      - totals before: 22386 hot methods, 22386 methods, 14605 classes
    
      per package info as csv (selected):
        package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
        android, 575, 574, 8, 10, 20894, 10390
        com.android, 17, 23, 5, 4, 1390, 3125
        android.view, 160, 164, 1, 0, 3394, 1148
        android.hardware, 3, 1, 0, 0, 471, 873
        android.animation, 46, 46, 0, 0, 413, 89
        android.app, 35, 35, 0, 2, 2923, 1183
        android.content, 74, 71, 0, 0, 1908, 635
        android.graphics, 76, 76, 3, 0, 1974, 374
        android.icu, 19, 19, 0, 0, 2043, 1497
        android.media, 0, 0, 2, 0, 792, 637
        android.net, 7, 7, 0, 0, 252, 222
        android.widget, 77, 77, 0, 0, 1403, 445
    
    File preloaded-classes
      - hot methods: 0 added, 0 removed
      - methods: 0 added, 0 removed
      - classes: 26 added, 19 removed
      - totals now: 0 hot methods, 0 methods, 14530 classes
      - totals before: 0 hot methods, 0 methods, 14523 classes
    
      per package info as csv (selected):
        package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
        android, 0, 0, 21, 14, 0, 10341
        com.android, 0, 0, 4, 5, 0, 3102
        android.view, 0, 0, 2, 3, 0, 1142
        android.hardware, 0, 0, 2, 0, 0, 873
        android.app, 0, 0, 1, 2, 0, 1180
        android.content, 0, 0, 0, 1, 0, 632
        android.graphics, 0, 0, 0, 3, 0, 368
        android.icu, 0, 0, 11, 0, 0, 1497
        android.media, 0, 0, 2, 0, 0, 628
    
    File art-profile
      - hot methods: 1774 added, 2504 removed
      - methods: 1774 added, 2504 removed
      - classes: 7 added, 3 removed
      - totals now: 3950 hot methods, 3950 methods, 82 classes
      - totals before: 4680 hot methods, 4680 methods, 78 classes
    
      per package info as csv (selected):
        package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
        android, 3, 4, 1, 1, 21, 1
        com.android, 1771, 2500, 6, 2, 3929, 81
        android.hardware, 3, 4, 0, 1, 18, 0
    
    InternalReferenceRawProfileId: 39982
    InternalReferenceCandidateProfileId: 39985
    
    Test: build & benchmark
    
    Change-Id: I984aa7fffa8d68fc315124699e64de1a8cba2993
    3a157131
    History
    Update boot image and system server profiles [M82C37P58S0PP]
    art-benchmark-service authored
    Bug: 254051423
    
    Test: go/art-benchmark?p=BootImageProfileId:39982&f=CandidateName:in:39985
    
    = Perf stats =
    (lower is better)
    
    Regular update to the boot image profiles. Benchmark shows a code size reduction of 0.5MB and improvements in App-memory and system-memory with a tiny improvement in boot Time.
    
                 Avg % [Confidence interval min-max %]
    App Startup:            0.42 [-1.59, 2.42]
    App RSS:               -0.49 [-1.15, 0.16]
    App Anon RSS + Swap:   -0.75 [-2.04, 0.53]
    Memory(PSS):           -0.25 [-1.1, 0.61]
    Memory(RSS):           -0.49 [-1.09, 0.12]
    Memory(Private-dirty): -2.6 [-4.54, -0.66]
    Boot time:             -0.57 [-1.44, 0.3]
    Code size:             -0.50MB (-0.607%)
    
    Ignore-AOSP-First: Boot image profiles
    BYPASS_INCLUSIVE_LANGUAGE_REASON: Profile of existing code
    
    =Generation Strategy=
    
    method_threshold: 0.82
    image_class_threshold: 0.37
    preloaded_classes_threshold: 0.58
    priority_packages_thresholds {
      key: "service-appsearch.jar.prof:CLASS:android"
      value: 0.026428571
    }
    priority_packages_thresholds {
      key: "service-appsearch.jar.prof:METHOD:android"
      value: 0.058571428
    }
    priority_packages_thresholds {
      key: "service-art.jar.prof:CLASS:android"
      value: 0.026428571
    }
    priority_packages_thresholds {
      key: "service-art.jar.prof:METHOD:android"
      value: 0.058571428
    }
    priority_packages_thresholds {
      key: "service-connectivity.jar.prof:CLASS:android"
      value: 0.026428571
    }
    priority_packages_thresholds {
      key: "service-connectivity.jar.prof:METHOD:android"
      value: 0.058571428
    }
    priority_packages_thresholds {
      key: "service-wifi.jar.prof:CLASS:android"
      value: 0.026428571
    }
    priority_packages_thresholds {
      key: "service-wifi.jar.prof:METHOD:android"
      value: 0.058571428
    }
    priority_packages_thresholds {
      key: "services.jar.prof:CLASS:android"
      value: 0.026428571
    }
    priority_packages_thresholds {
      key: "services.jar.prof:METHOD:android"
      value: 0.058571428
    }
    
    =Profile stats=
    
    Data info:
    - total aggregations: 1873
    - number of (device types, builds): 245
    
    File boot-image-profile.txt
      - hot methods: 610 added, 615 removed
      - methods: 610 added, 615 removed
      - classes: 17 added, 15 removed
      - totals now: 32511 hot methods, 32511 methods, 17851 classes
      - totals before: 32516 hot methods, 32516 methods, 17849 classes
    
      per package info as csv (selected):
        package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
        android, 575, 574, 8, 10, 20958, 10421
        com.android, 17, 23, 6, 4, 2320, 3538
        java, 9, 9, 2, 1, 7241, 2131
        android.view, 160, 164, 1, 0, 3394, 1148
        android.hardware, 3, 1, 0, 0, 471, 873
        android.animation, 46, 46, 0, 0, 413, 89
        android.app, 35, 35, 0, 2, 2923, 1183
        android.content, 74, 71, 0, 0, 1908, 635
        android.graphics, 76, 76, 3, 0, 1974, 374
        android.icu, 19, 19, 0, 0, 2043, 1497
        android.media, 0, 0, 2, 0, 792, 637
        android.net, 7, 7, 0, 0, 252, 222
        android.widget, 77, 77, 0, 0, 1403, 445
    
    File preloaded-classes
      - hot methods: 0 added, 0 removed
      - methods: 0 added, 0 removed
      - classes: 33 added, 24 removed
      - totals now: 0 hot methods, 0 methods, 17762 classes
      - totals before: 0 hot methods, 0 methods, 17753 classes
    
      per package info as csv (selected):
        package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
        android, 0, 0, 21, 14, 0, 10372
        com.android, 0, 0, 6, 5, 0, 3515
        java, 0, 0, 5, 5, 0, 2118
        android.view, 0, 0, 2, 3, 0, 1142
        android.hardware, 0, 0, 2, 0, 0, 873
        android.app, 0, 0, 1, 2, 0, 1180
        android.content, 0, 0, 0, 1, 0, 632
        android.graphics, 0, 0, 0, 3, 0, 368
        android.icu, 0, 0, 11, 0, 0, 1497
        android.media, 0, 0, 2, 0, 0, 628
    
    File boot-image-profile.txt
      - hot methods: 601 added, 606 removed
      - methods: 601 added, 606 removed
      - classes: 14 added, 14 removed
      - totals now: 22381 hot methods, 22381 methods, 14605 classes
      - totals before: 22386 hot methods, 22386 methods, 14605 classes
    
      per package info as csv (selected):
        package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
        android, 575, 574, 8, 10, 20894, 10390
        com.android, 17, 23, 5, 4, 1390, 3125
        android.view, 160, 164, 1, 0, 3394, 1148
        android.hardware, 3, 1, 0, 0, 471, 873
        android.animation, 46, 46, 0, 0, 413, 89
        android.app, 35, 35, 0, 2, 2923, 1183
        android.content, 74, 71, 0, 0, 1908, 635
        android.graphics, 76, 76, 3, 0, 1974, 374
        android.icu, 19, 19, 0, 0, 2043, 1497
        android.media, 0, 0, 2, 0, 792, 637
        android.net, 7, 7, 0, 0, 252, 222
        android.widget, 77, 77, 0, 0, 1403, 445
    
    File preloaded-classes
      - hot methods: 0 added, 0 removed
      - methods: 0 added, 0 removed
      - classes: 26 added, 19 removed
      - totals now: 0 hot methods, 0 methods, 14530 classes
      - totals before: 0 hot methods, 0 methods, 14523 classes
    
      per package info as csv (selected):
        package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
        android, 0, 0, 21, 14, 0, 10341
        com.android, 0, 0, 4, 5, 0, 3102
        android.view, 0, 0, 2, 3, 0, 1142
        android.hardware, 0, 0, 2, 0, 0, 873
        android.app, 0, 0, 1, 2, 0, 1180
        android.content, 0, 0, 0, 1, 0, 632
        android.graphics, 0, 0, 0, 3, 0, 368
        android.icu, 0, 0, 11, 0, 0, 1497
        android.media, 0, 0, 2, 0, 0, 628
    
    File art-profile
      - hot methods: 1774 added, 2504 removed
      - methods: 1774 added, 2504 removed
      - classes: 7 added, 3 removed
      - totals now: 3950 hot methods, 3950 methods, 82 classes
      - totals before: 4680 hot methods, 4680 methods, 78 classes
    
      per package info as csv (selected):
        package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
        android, 3, 4, 1, 1, 21, 1
        com.android, 1771, 2500, 6, 2, 3929, 81
        android.hardware, 3, 4, 0, 1, 18, 0
    
    InternalReferenceRawProfileId: 39982
    InternalReferenceCandidateProfileId: 39985
    
    Test: build & benchmark
    
    Change-Id: I984aa7fffa8d68fc315124699e64de1a8cba2993
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
preloaded-classes 790.24 KiB