Here are four ways that Android 14 improves on performance and memory efficiency:
1) Freezing cached applications
Android 14 freezes cached apps after a "short period of time", giving them 0 CPU time. During the Android 14 Beta, Google saw cached processes consume "up to 50% less CPU cycles as compared to Android 13 public devices."
2) Optimized broadcasts
To ensure frozen apps stay frozen, Android 14 adjusts how apps receive context-registered broadcasts once they enter a cached state. These broadcasts may be queued, and certain repeating ones (like BATTERY_CHANGED) may be merged into one broadcast.
3) Faster app launches
Thanks to the previous two optimizations, Google says they were able to "increase long-standing limits on the maximum number of cached applications" in Android 14, leading to a "reduction in cold app starts that scales by the RAM present on the device."
A cold app start is when an app's process is started from scratch. This requires more CPU cycles than warm or hot starts, so reducing them improves power efficiency.
On devices with 8GB RAM, the beta group "saw 20% fewer cold app starts". On devices with 12GB RAM, "it was over 30% fewer".
4) Reduced memory footprint
Google says that ART 14 in Android 14 "includes optimizations that reduce code size by an average of 9.3% without impacting performance." The smaller the files containing the code that ART has to interpret, the better it is for memory and storage.
(Google hasn't shared full details on what's new in ART 14, but I'm hoping they'll do so soon!)
点击图片查看原图