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

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

Update boot image and system server profiles [M29C24P60S0PP]

Bug: 254051423
Bug: 303356546
Bug: 303339619
Bug: 303378282
Bug: 303394972

Test: go/art-benchmark?p=BootImageProfileId:36833&f=CandidateName:in:36861
Test: ATP test https://android-build.googleplex.com/builds/abtd/run/L85800030000096758

= Perf stats =
(lower is better)

Regular update to the boot image profiles, Benchmark shows an no impact on app cold startup time, boot-time and good memory reduction for system-server process besides fixing some regressions from the prev update, but with a small increase in code size which could be an acceptable cost.

         Avg % [Confidence interval min-max %]
Startup: -0.14 [-2.34, 2.06]
Memory(PSS): -0.15 [-1.82, 1.51]
Boot time: 0.19 [-0.68, 1.06]
Code size (.oat + .art + .odex): 0.88MB (1.06%)

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

=Generation Strategy=

method_threshold: 0.29
image_class_threshold: 0.24
preloaded_classes_threshold: 0.6
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:CLASS:android"
  value: 0.017142856
}
priority_packages_thresholds {
  key: "service-appsearch.jar.prof:METHOD:android"
  value: 0.020714285
}
priority_packages_thresholds {
  key: "service-art.jar.prof:CLASS:android"
  value: 0.017142856
}
priority_packages_thresholds {
  key: "service-art.jar.prof:METHOD:android"
  value: 0.020714285
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:CLASS:android"
  value: 0.017142856
}
priority_packages_thresholds {
  key: "service-connectivity.jar.prof:METHOD:android"
  value: 0.020714285
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:CLASS:android"
  value: 0.017142856
}
priority_packages_thresholds {
  key: "service-wifi.jar.prof:METHOD:android"
  value: 0.020714285
}
priority_packages_thresholds {
  key: "services.jar.prof:CLASS:android"
  value: 0.017142856
}
priority_packages_thresholds {
  key: "services.jar.prof:METHOD:android"
  value: 0.020714285
}

=Profile stats=

Data info:
- total aggregations: 50
- number of (device types, builds): 18

File boot-image-profile.txt
  - hot methods: 201 added, 225 removed
  - methods: 201 added, 225 removed
  - classes: 0 added, 2 removed
  - totals now: 32532 hot methods, 32532 methods, 17268 classes
  - totals before: 32556 hot methods, 32556 methods, 17270 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 137, 154, 0, 2, 21053, 9950
    com.android, 8, 9, 0, 0, 2425, 3481
    java, 40, 47, 0, 0, 7086, 2101
    android.view, 62, 66, 0, 0, 3444, 1058
    android.hardware, 3, 9, 0, 0, 495, 859
    android.app, 6, 8, 0, 0, 2952, 1108
    android.content, 11, 12, 0, 0, 1892, 585
    android.graphics, 8, 8, 0, 0, 1973, 345
    android.icu, 10, 10, 0, 0, 2048, 1474
    android.media, 1, 1, 0, 0, 792, 604
    android.widget, 14, 15, 0, 2, 1403, 397

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 14 added, 2 removed
  - totals now: 0 hot methods, 0 methods, 17228 classes
  - totals before: 0 hot methods, 0 methods, 17216 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 14, 2, 0, 9922
    android.view, 0, 0, 9, 0, 0, 1056
    android.app, 0, 0, 3, 0, 0, 1107
    android.content, 0, 0, 1, 0, 0, 583
    android.widget, 0, 0, 1, 2, 0, 396

File boot-image-profile.txt
  - hot methods: 144 added, 162 removed
  - methods: 144 added, 162 removed
  - classes: 0 added, 2 removed
  - totals now: 22501 hot methods, 22501 methods, 14055 classes
  - totals before: 22519 hot methods, 22519 methods, 14057 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 137, 154, 0, 2, 20989, 9919
    com.android, 7, 8, 0, 0, 1415, 3052
    android.view, 62, 66, 0, 0, 3444, 1058
    android.hardware, 3, 9, 0, 0, 495, 859
    android.app, 6, 8, 0, 0, 2952, 1108
    android.content, 11, 12, 0, 0, 1892, 585
    android.graphics, 8, 8, 0, 0, 1973, 345
    android.icu, 10, 10, 0, 0, 2048, 1474
    android.media, 1, 1, 0, 0, 792, 604
    android.widget, 14, 15, 0, 2, 1403, 397

File preloaded-classes
  - hot methods: 0 added, 0 removed
  - methods: 0 added, 0 removed
  - classes: 14 added, 2 removed
  - totals now: 0 hot methods, 0 methods, 14019 classes
  - totals before: 0 hot methods, 0 methods, 14007 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 0, 0, 14, 2, 0, 9891
    android.view, 0, 0, 9, 0, 0, 1056
    android.app, 0, 0, 3, 0, 0, 1107
    android.content, 0, 0, 1, 0, 0, 583
    android.widget, 0, 0, 1, 2, 0, 396

File art-profile
  - hot methods: 2073 added, 821 removed
  - methods: 2073 added, 821 removed
  - classes: 10 added, 2 removed
  - totals now: 14004 hot methods, 14004 methods, 1494 classes
  - totals before: 12752 hot methods, 12752 methods, 1486 classes

  per package info as csv (selected):
    package_name, hot_a, hot_r, cl_a, cl_r, hot_num, cl_num
    android, 21, 26, 0, 0, 86, 25
    com.android, 2052, 795, 9, 2, 13918, 1439
    android.hardware, 20, 25, 0, 0, 70, 12
    android.net, 1, 1, 0, 0, 10, 3

InternalReferenceRawProfileId: 36833
InternalReferenceCandidateProfileId: 36861

Test: build & benchmark

Change-Id: If26794e3e9e3605a8059e846472c300f289dba0e
parent 1cb4ede9
Loading
Loading
Loading
Loading
+144 −164

File changed.

Preview size limit exceeded, changes collapsed.

+14 −2
Original line number Diff line number Diff line
@@ -370,6 +370,7 @@ android.app.BackgroundServiceStartNotAllowedException
android.app.BroadcastOptions
android.app.ClientTransactionHandler
android.app.ComponentOptions
android.app.ConfigurationChangedListenerController
android.app.ConfigurationController
android.app.ContentProviderHolder$1
android.app.ContentProviderHolder
@@ -1275,6 +1276,8 @@ android.appwidget.AppWidgetManager$$ExternalSyntheticLambda1
android.appwidget.AppWidgetManager$$ExternalSyntheticLambda2
android.appwidget.AppWidgetManager$$ExternalSyntheticLambda3
android.appwidget.AppWidgetManager$$ExternalSyntheticLambda4
android.appwidget.AppWidgetManager$$ExternalSyntheticLambda5
android.appwidget.AppWidgetManager$$ExternalSyntheticLambda6
android.appwidget.AppWidgetManager
android.appwidget.AppWidgetManagerInternal
android.appwidget.AppWidgetProvider
@@ -1338,6 +1341,7 @@ android.content.ComponentName$1
android.content.ComponentName$WithComponentName
android.content.ComponentName
android.content.ContentCaptureOptions$1
android.content.ContentCaptureOptions$ContentProtectionOptions
android.content.ContentCaptureOptions
android.content.ContentInterface
android.content.ContentProvider$1
@@ -8386,6 +8390,7 @@ android.view.IScrollCaptureCallbacks
android.view.IScrollCaptureResponseListener$Stub$Proxy
android.view.IScrollCaptureResponseListener$Stub
android.view.IScrollCaptureResponseListener
android.view.ISurfaceControlViewHost
android.view.ISurfaceControlViewHostParent$Stub
android.view.ISurfaceControlViewHostParent
android.view.ISystemGestureExclusionListener$Stub$Proxy
@@ -8971,7 +8976,9 @@ android.view.autofill.AutofillManager$AugmentedAutofillManagerClient
android.view.autofill.AutofillManager$AutofillCallback
android.view.autofill.AutofillManager$AutofillClient
android.view.autofill.AutofillManager$AutofillManagerClient$$ExternalSyntheticLambda10
android.view.autofill.AutofillManager$AutofillManagerClient$$ExternalSyntheticLambda11
android.view.autofill.AutofillManager$AutofillManagerClient$$ExternalSyntheticLambda13
android.view.autofill.AutofillManager$AutofillManagerClient$$ExternalSyntheticLambda14
android.view.autofill.AutofillManager$AutofillManagerClient$$ExternalSyntheticLambda16
android.view.autofill.AutofillManager$AutofillManagerClient
android.view.autofill.AutofillManager$CompatibilityBridge
@@ -9045,6 +9052,7 @@ android.view.contentcapture.MainContentCaptureSession
android.view.contentcapture.ViewNode$ViewNodeText
android.view.contentcapture.ViewNode$ViewStructureImpl
android.view.contentcapture.ViewNode
android.view.contentprotection.ContentProtectionEventProcessor
android.view.displayhash.DisplayHash$1
android.view.displayhash.DisplayHash
android.view.displayhash.DisplayHashManager
@@ -9142,10 +9150,15 @@ android.view.inputmethod.JoinOrSplitGesture
android.view.inputmethod.ParcelableHandwritingGesture$1
android.view.inputmethod.ParcelableHandwritingGesture
android.view.inputmethod.PreviewableHandwritingGesture
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda11
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda24
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda25
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda27
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda28
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda37
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda39
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda40
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda42
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda8
android.view.inputmethod.RemoteInputConnectionImpl$1
android.view.inputmethod.RemoteInputConnectionImpl$KnownAlwaysTrueEndBatchEditCache
@@ -9609,7 +9622,6 @@ android.widget.RemoteViews$MethodArgs
android.widget.RemoteViews$MethodKey
android.widget.RemoteViews$NightModeReflectionAction
android.widget.RemoteViews$OnViewAppliedListener
android.widget.RemoteViews$OverrideTextColorsAction
android.widget.RemoteViews$ReflectionAction
android.widget.RemoteViews$RemoteCollectionItems$1
android.widget.RemoteViews$RemoteCollectionItems
@@ -9631,7 +9643,6 @@ android.widget.RemoteViews$SetRadioGroupCheckedAction
android.widget.RemoteViews$SetRemoteCollectionItemListAdapterAction
android.widget.RemoteViews$SetRemoteInputsAction
android.widget.RemoteViews$SetRemoteViewsAdapterIntent
android.widget.RemoteViews$SetRemoteViewsAdapterList
android.widget.RemoteViews$SetRippleDrawableColor
android.widget.RemoteViews$SetViewOutlinePreferredRadiusAction
android.widget.RemoteViews$TextViewDrawableAction
@@ -9702,6 +9713,7 @@ android.widget.TextClock
android.widget.TextView$$ExternalSyntheticLambda2
android.widget.TextView$$ExternalSyntheticLambda3
android.widget.TextView$$ExternalSyntheticLambda4
android.widget.TextView$$ExternalSyntheticLambda5
android.widget.TextView$1
android.widget.TextView$2
android.widget.TextView$3
+201 −227

File changed.

Preview size limit exceeded, changes collapsed.

+14 −2
Original line number Diff line number Diff line
@@ -370,6 +370,7 @@ android.app.BackgroundServiceStartNotAllowedException
android.app.BroadcastOptions
android.app.ClientTransactionHandler
android.app.ComponentOptions
android.app.ConfigurationChangedListenerController
android.app.ConfigurationController
android.app.ContentProviderHolder$1
android.app.ContentProviderHolder
@@ -1275,6 +1276,8 @@ android.appwidget.AppWidgetManager$$ExternalSyntheticLambda1
android.appwidget.AppWidgetManager$$ExternalSyntheticLambda2
android.appwidget.AppWidgetManager$$ExternalSyntheticLambda3
android.appwidget.AppWidgetManager$$ExternalSyntheticLambda4
android.appwidget.AppWidgetManager$$ExternalSyntheticLambda5
android.appwidget.AppWidgetManager$$ExternalSyntheticLambda6
android.appwidget.AppWidgetManager
android.appwidget.AppWidgetManagerInternal
android.appwidget.AppWidgetProvider
@@ -1342,6 +1345,7 @@ android.content.ComponentName$1
android.content.ComponentName$WithComponentName
android.content.ComponentName
android.content.ContentCaptureOptions$1
android.content.ContentCaptureOptions$ContentProtectionOptions
android.content.ContentCaptureOptions
android.content.ContentInterface
android.content.ContentProvider$1
@@ -8417,6 +8421,7 @@ android.view.IScrollCaptureCallbacks
android.view.IScrollCaptureResponseListener$Stub$Proxy
android.view.IScrollCaptureResponseListener$Stub
android.view.IScrollCaptureResponseListener
android.view.ISurfaceControlViewHost
android.view.ISurfaceControlViewHostParent$Stub
android.view.ISurfaceControlViewHostParent
android.view.ISystemGestureExclusionListener$Stub$Proxy
@@ -9002,7 +9007,9 @@ android.view.autofill.AutofillManager$AugmentedAutofillManagerClient
android.view.autofill.AutofillManager$AutofillCallback
android.view.autofill.AutofillManager$AutofillClient
android.view.autofill.AutofillManager$AutofillManagerClient$$ExternalSyntheticLambda10
android.view.autofill.AutofillManager$AutofillManagerClient$$ExternalSyntheticLambda11
android.view.autofill.AutofillManager$AutofillManagerClient$$ExternalSyntheticLambda13
android.view.autofill.AutofillManager$AutofillManagerClient$$ExternalSyntheticLambda14
android.view.autofill.AutofillManager$AutofillManagerClient$$ExternalSyntheticLambda16
android.view.autofill.AutofillManager$AutofillManagerClient
android.view.autofill.AutofillManager$CompatibilityBridge
@@ -9076,6 +9083,7 @@ android.view.contentcapture.MainContentCaptureSession
android.view.contentcapture.ViewNode$ViewNodeText
android.view.contentcapture.ViewNode$ViewStructureImpl
android.view.contentcapture.ViewNode
android.view.contentprotection.ContentProtectionEventProcessor
android.view.displayhash.DisplayHash$1
android.view.displayhash.DisplayHash
android.view.displayhash.DisplayHashManager
@@ -9173,10 +9181,15 @@ android.view.inputmethod.JoinOrSplitGesture
android.view.inputmethod.ParcelableHandwritingGesture$1
android.view.inputmethod.ParcelableHandwritingGesture
android.view.inputmethod.PreviewableHandwritingGesture
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda11
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda24
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda25
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda27
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda28
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda37
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda39
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda40
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda42
android.view.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda8
android.view.inputmethod.RemoteInputConnectionImpl$1
android.view.inputmethod.RemoteInputConnectionImpl$KnownAlwaysTrueEndBatchEditCache
@@ -9640,7 +9653,6 @@ android.widget.RemoteViews$MethodArgs
android.widget.RemoteViews$MethodKey
android.widget.RemoteViews$NightModeReflectionAction
android.widget.RemoteViews$OnViewAppliedListener
android.widget.RemoteViews$OverrideTextColorsAction
android.widget.RemoteViews$ReflectionAction
android.widget.RemoteViews$RemoteCollectionItems$1
android.widget.RemoteViews$RemoteCollectionItems
@@ -9662,7 +9674,6 @@ android.widget.RemoteViews$SetRadioGroupCheckedAction
android.widget.RemoteViews$SetRemoteCollectionItemListAdapterAction
android.widget.RemoteViews$SetRemoteInputsAction
android.widget.RemoteViews$SetRemoteViewsAdapterIntent
android.widget.RemoteViews$SetRemoteViewsAdapterList
android.widget.RemoteViews$SetRippleDrawableColor
android.widget.RemoteViews$SetViewOutlinePreferredRadiusAction
android.widget.RemoteViews$TextViewDrawableAction
@@ -9733,6 +9744,7 @@ android.widget.TextClock
android.widget.TextView$$ExternalSyntheticLambda2
android.widget.TextView$$ExternalSyntheticLambda3
android.widget.TextView$$ExternalSyntheticLambda4
android.widget.TextView$$ExternalSyntheticLambda5
android.widget.TextView$1
android.widget.TextView$2
android.widget.TextView$3
+2127 −867

File changed.

Preview size limit exceeded, changes collapsed.