2014년 2월 2일 일요일

Dalvik과 ART의 차이

아침에 이런 기사를 보게 됨.

Goodbye Dalvik? Android code commit makes ART runtime the default
http://liliputing.com/2014/01/goodbye-dalvik-android-code-commit-makes-art-runtime-default.html

Google이 최근 commit에서 Dalvik 대신에 ART 라는 새로운 runtime으로 교체했다는 내용..

기사에서는 Dalvik은 JIT "Just-In-Time" 방식으로 코드를 사용할때 컴파일하는 반면에 ART는 AOT "Ahead-Of-Time" 방식으로 코드를 컴파일 해 놓고 사용하는 방식이라고 설명.

그래서 실행 시 컴파일 해서 사용하는 Dalvik은 실행 시간 및 성능에서 단점을 가지는 반면에 ART는 실행 시간과 성능에서 장점을 가짐. 반대로는 설치 시간에서는 ART가 단점을 가진다고 볼 수 있음.

: http://www.infinum.co/the-capsized-eight/articles/art-vs-dalvik-introducing-the-new-android-runtime-in-kit-kat

ART와 Dalvik의 비교는 아래 링크에서 자세히 볼 수 있고
간략하게 정리하면 ART가 일부 성능과 idle시 Battery 사용 측면에서는 근소하게 우수하고 월등하지는 않다는 것이 아래 글의 내용. 하지만 개발중이니 아직은 뭐..

Meet ART, Part 1: The New Super-Fast Android Runtime Google Has Been Working On In Secret For Over 2 Years Debuts In KitKat
: http://www.androidpolice.com/2013/11/06/meet-art-part-1-the-new-super-fast-android-runtime-google-has-been-working-on-in-secret-for-over-2-years-debuts-in-kitkat/

Meet ART, Part 2: Benchmarks - Performance Won't Blow You Away Today, But It Will Get Better
http://www.androidpolice.com/2013/11/12/meet-art-part-2-benchmarks-performance-wont-blow-away-today-will-get-better/

Meet ART, Part 3: Battery Life Benchmarks - Not Good, But Not Too Bad
http://www.androidpolice.com/2014/01/22/meet-art-part-3-battery-life-benchmarks-not-good-but-not-too-bad/

아래 링크에서는 Nexus 5의 사용 시간(idle 및 casual task 수행)이 Dalvik을 사용할때는 17-18시간이지만 ART를 사용했을 경우 24시간을 충분히 사용했다고 함.
: http://www.geek.com/android/work-of-art-testing-out-android-runtime-on-the-nexus-5-1577351/

댓글 없음:

댓글 쓰기