The English full name of ART mode is: Android runtime, Google Android? 4.4 The system has added a new application operation mode, which is different from the traditional Dalvik mode. Art mode can achieve a smoother Android system experience. For everyone, as long as you understand that ART mode can make the system experience smoother, this function can only be used in Android systems above 4.4.
In order to explain clearly what ART mode is, we need to start with the application compilation mode of Android system. Android system is built on the bottom of Linux system. Android system is an open source, and it must adapt to devices with different hardware configurations. Therefore, in order to reduce the difficulty of application development, Google built a virtual machine named "Dalvik" on the bottom of Linux.
Because of the existence of Dalvik virtual machine, developers of Android system can easily create an APP according to a set of "rules" by using the SDK (software development kit) provided by Google, without worrying about hardware, drivers and other issues. Every time they execute an application, Dalvik virtual machine will compile the language of the program from high-level language to machine language, and let the current device run the application.
Knowing Dalvik mode, you should know the newly added ART mode in Android4.4. The full name of this mode is Androidruntime. In fact, this optimization of Google stems from a company called Flexycore that it recently acquired. The company has been committed to the optimization of Android system, and the ART model evolved from the company's optimization scheme.
The biggest difference between ART mode and Dalvik mode is that when ART mode is turned on, the system will precompile once when installing the application, and the code will be converted into machine language and stored locally when installing the application, so that it will not be compiled every time when running the program, and the execution efficiency will be greatly improved.
Open method:
In the phone settings, find out the phone-version, and keep clicking the prompt to open the developer option.
Find the running environment in the developer options. There are two running modes, one is the default Dalvink, and the other is the ART mode. It's just an artistic choice.
After selecting ART mode, the mobile phone will give a prompt similar to a security statement, then it will be prompted to restart, and then follow the prompts. There will be a notice that the mobile phone will be automatically upgraded when it is restarted. Depending on the software in the mobile phone, it takes 3-5 minutes.
Although the ART mode makes the program run more smoothly, it also takes up more system memory, and the time for installing the program is relatively increased (ART seems to be precompiled at this time), so the opportunity is slow.