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
This commit is contained in:
art-benchmark-service
2021-04-03 17:56:47 -07:00
committed by Calin Juravle
parent 0277e97c12
commit f45ca2fb70
3 changed files with 11883 additions and 7412 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -588,7 +588,6 @@ android.app.SystemServiceRegistry$118
android.app.SystemServiceRegistry$119
android.app.SystemServiceRegistry$11
android.app.SystemServiceRegistry$120
android.app.SystemServiceRegistry$121
android.app.SystemServiceRegistry$12
android.app.SystemServiceRegistry$13
android.app.SystemServiceRegistry$14
@@ -946,7 +945,6 @@ android.app.slice.SliceManager
android.app.slice.SliceProvider
android.app.slice.SliceSpec$1
android.app.slice.SliceSpec
android.app.time.TimeManager
android.app.timedetector.ITimeDetectorService$Stub$Proxy
android.app.timedetector.ITimeDetectorService$Stub
android.app.timedetector.ITimeDetectorService
@@ -1949,7 +1947,6 @@ android.graphics.Region$1
android.graphics.Region$Op
android.graphics.Region
android.graphics.RegionIterator
android.graphics.RenderEffect
android.graphics.RenderNode$AnimationHost
android.graphics.RenderNode$CompositePositionUpdateListener
android.graphics.RenderNode$NoImagePreloadHolder
@@ -2117,7 +2114,6 @@ android.graphics.text.LineBreaker$Result
android.graphics.text.LineBreaker
android.graphics.text.MeasuredText$Builder
android.graphics.text.MeasuredText
android.graphics.text.PositionedGlyphs
android.gsi.AvbPublicKey$1
android.gsi.AvbPublicKey
android.gsi.GsiProgress$1
@@ -4670,7 +4666,6 @@ android.media.NativeRoutingEventHandlerDelegate
android.media.NotProvisionedException
android.media.PlaybackParams$1
android.media.PlaybackParams
android.media.PlayerBase$IAppOpsCallbackWrapper
android.media.PlayerBase$IPlayerWrapper
android.media.PlayerBase$PlayerIdCard$1
android.media.PlayerBase$PlayerIdCard
@@ -5614,7 +5609,6 @@ android.os.PowerManager$2
android.os.PowerManager$3
android.os.PowerManager$OnThermalStatusChangedListener
android.os.PowerManager$WakeData
android.os.PowerManager$WakeLock$1
android.os.PowerManager$WakeLock
android.os.PowerManager
android.os.PowerManagerInternal$1
@@ -5738,14 +5732,6 @@ android.os.VibrationAttributes
android.os.VibrationEffect$1
android.os.VibrationEffect$Composed$1
android.os.VibrationEffect$Composed
android.os.VibrationEffect$Composition$PrimitiveEffect$1
android.os.VibrationEffect$Composition$PrimitiveEffect
android.os.VibrationEffect$OneShot$1
android.os.VibrationEffect$OneShot
android.os.VibrationEffect$Prebaked$1
android.os.VibrationEffect$Prebaked
android.os.VibrationEffect$Waveform$1
android.os.VibrationEffect$Waveform
android.os.VibrationEffect
android.os.Vibrator
android.os.VintfObject
@@ -8132,7 +8118,6 @@ android.view.textservice.SentenceSuggestionsInfo$1
android.view.textservice.SentenceSuggestionsInfo
android.view.textservice.SpellCheckerInfo$1
android.view.textservice.SpellCheckerInfo
android.view.textservice.SpellCheckerSession$1
android.view.textservice.SpellCheckerSession$InternalListener
android.view.textservice.SpellCheckerSession$SpellCheckerSessionListener
android.view.textservice.SpellCheckerSession$SpellCheckerSessionListenerImpl$1
@@ -9512,7 +9497,6 @@ com.android.internal.telephony.IntRangeManager
com.android.internal.telephony.IntentBroadcaster$1
com.android.internal.telephony.IntentBroadcaster
com.android.internal.telephony.LastCallFailCause
com.android.internal.telephony.LinkCapacityEstimate
com.android.internal.telephony.LocalLog$ReadOnlyLocalLog
com.android.internal.telephony.LocalLog
com.android.internal.telephony.LocaleTracker$1
@@ -10617,7 +10601,6 @@ com.android.internal.util.JournaledFile
com.android.internal.util.LatencyTracker
com.android.internal.util.LineBreakBufferedWriter
com.android.internal.util.LocalLog
com.android.internal.util.LocationPermissionChecker
com.android.internal.util.MemInfoReader
com.android.internal.util.MessageUtils$DuplicateConstantError
com.android.internal.util.MessageUtils
@@ -11247,7 +11230,6 @@ com.android.phone.ecc.nano.android.ParcelableExtendableMessageNano
com.android.phone.ecc.nano.android.ParcelableMessageNano
com.android.phone.ecc.nano.android.ParcelableMessageNanoCreator
com.android.server.AppWidgetBackupBridge
com.android.server.BootReceiver$1
com.android.server.LocalServices
com.android.server.NetworkManagementSocketTagger$1
com.android.server.NetworkManagementSocketTagger$SocketTags

File diff suppressed because it is too large Load Diff