Skip to content

Instantly share code, notes, and snippets.

@wakoliVotes
Last active February 19, 2022 00:35
Show Gist options
  • Save wakoliVotes/ba36d429d730d974771dfa7c944c0b01 to your computer and use it in GitHub Desktop.
Save wakoliVotes/ba36d429d730d974771dfa7c944c0b01 to your computer and use it in GitHub Desktop.
Android Runtimes
Dalvik Virtual Machine Android Run Time(ART)
Faster Booting time Rebooting is significantly longer
Cache builds up overtime The cache is built during the first boot
Uses Just-In-Time(JIT) compiler Uses Ahead-Of-Time(AOT) compiler
Occupies less space due to JIT Consumes a lot of storage space internally due to AOT
Works best for small storage devices Works best for Large storage devices
Longer app loading time Extremely Faster and smoother load time and lower processor use
Apps lagging due to garbage collector pauses and JIT Reduced apps lagging and better user experience
Lower installation time as compilation is done later Longer as compilation is done at installation
DVM converts bytecode every time app is launched ART converts just once at app installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment