Android:what is ART?

Source: Internet
Author: User

background: Before Android4.2, Android mobile phone system applications are running on Dalvik Java virtual machines, and this mode of operation relies on a compiler to communicate with the application. Every time the application runs, it is necessary to change the code inside the program into a machine code to run, which virtually add a procedure, which resulted in a relatively fast mobile phone power consumption, memory consumption, with a long time will lag phenomenon.

Preface: KitKat (Kit Kat Chocolate): Nestle chocolate bar Products, recently Google announced that the latest version of Android 4.4 will be named "KitKat"

One of the greatest features of Android 4.4.x KitKat, also probably the most under-reported one, are the next generation an Droid RunTime (ART).

Translation: One of the most striking features of android4.4.x KitKat is the next generation of Android Run time (ART), and perhaps the next feature that will be widely noticed.

What is ART?

translation: What is art? Art

When you start all apps on your Android device, the system actually takes some time and effort to compile the app package To machine code so your device can understand and execute. It does this Just in time of execution. So as your run apps on your device, it actually keeps doing these resource intensive tasks in the background and this is a Major reason why people notice Android apps is a bit sluggish when compared to their IOS counterparts.

translation: When you launch any app on your Android device, the system takes some time and effort (resources) to compile the app package file into machine code so that your device can understand and run. This process is performed while the program is running. So when you run your app on your device, in fact, it runs these very resource-intensive tasks in the background. This is the main reason why running an app on an Android system can be a bit slow compared to Apple's iOS system.
This is, until-switch to the new Android RunTime (ART).

This problem will persist unless you switch to the new Android Run time.

with ART enabled, machine code compilations is done Ahead of time during app installation. If you run apps on your device, it can skip all and simply executes the code directly.
Translation: In the case of Art enabled, the compilation of the machine code will be compiled in advance during the installation of the app program. So when you run your app on your device, it can skip the compile process and run the compiled machine code directly.

The result? Reports show that ART yields performance improvements of around 10% to 20% on average. On the other hand it also boosts battery life because your device now does a IoT less resource intensive machine code Comp Iling. Take into considerations ART was currently a preview technology in Android 4.4.x KitKat so it can only get better and Bette R in upcoming Android releases.

translation: What is the result of this? The report shows that art improves operational performance by an average of 10% to 20%. On the other hand, it also prolongs the battery life. Because now your device greatly reduces the cost of executing a compiled machine code that consumes resources. Given that art is currently only used in the android4.4.x KitKat version, art will only get better in future releases of Android.


Captured in English from: http://www.mobilehiddencamera.com/

Translation time: June 23, 2014


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.