Skip to content
Commit 1c2d2afc authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Move to using a profile for boot image

Updated the system server profile, moved to using a profile for the
boot image.

Use cases for obtaining profiles:
Automated CUJ tests
Automated app launches
Manual usage of dialer, navigation, playstore, and play music.

Storage savings:
Boot art+vdex+oat size: 78305556->61539326 (-17MB)

New system server profile has more methods (1.5MB -> 4MB oat) since it
has more coverage from use cases.

Ram savings (sample averages for CUJ test):
Average PSS of 3 runs (~100 samples total):
.Boot_vdex: 9359K -> 9902K
.oat_mmap: 21857K -> 13372K
.Heap: 29779K -> 29483K
.Boot_art: 15736K -> 18096K
.LinearAlloc: 9112K -> 8965K
Total PSS: 85846K -> 79819K (-6MB)

Average pages read from flash (512MB device) for CUJ tests (3 samples):
1508MB -> 1183MB

TODO: Investigate why .art goes up, maybe we are missing some classes
in the profiles.

Bug: 37966211
Bug: 63178181

Test: make and flash

Change-Id: I2031c52eab7b868c59d4c5a46cad50bfbc6cd714
parent 50877231
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