Pages

Tuesday 3 June 2014

GOOGLE ART MODE TO MAKE DROID FASTER










Google android which comes with a dalvik compiler which uses JIT (Just in time) approach in compilation of code.
It means that each time you run an app, the part of the code required for its execution is going to be translated (compiled) to machine code at that moment. As you progress
through the app, additional code is going to be compiled and cached, so that the system can reuse the code while the app is running. Since JIT compiles only a part of the code, it has a smaller memory footprint and uses less physical space on the device while on the other hand with the new approach of compilation which reduces the gap between the hardware and application leads to improvement of speed  
ANDROID ART(Application Run Time)
ART is Google's 2-year-long ongoing secret project, which aims to boost the performance of our Android devices. 
ART APPROACH compiles the intermediate language, Dalvik bytecode, into a system-dependent binary. The whole code of the app will be pre-compiled during install (once), thus removing the lag that we see when we open an app on our device. With no need for JIT compilation, the code should execute much faster.

ART makes the UI feel more responsive. At this time, ART is not fully optimized. We expect even better results in the future, after Google acquires more feedback and makes additional optimizations. As we see it, end users will definitely benefit from the switch, once ART matures and gets more stable. However, developers, for now we hopes that Android 5.0 comes with fully functional ART which will remove one of the major problem with current android platform.

No comments:

Post a Comment