1. Download our Official Android App: Forums for Android!

General ART vs DALVIK Runtime

Discussion in 'Android Devices' started by Maine Coon, Jul 17, 2014.

?

ART vs dalvik runtime

  1. ART is faster

    16 vote(s)
    55.2%
  2. dalvik is faster

    4 vote(s)
    13.8%
  3. same

    6 vote(s)
    20.7%
  4. what are you talking about

    3 vote(s)
    10.3%
  1. AntimonyER

    AntimonyER CHANGED FROM AF ADDICT MIKESTONY
    Rank:
    None
    Points:
    1,343
    Posts:
    13,644
    Joined:
    Jun 18, 2010

    Jun 18, 2010
    13,644
    8,004
    1,343
    Statesboro, GA
    Nessthiss I'm having the same issue. Three times today it has frozen. Twice after I let it charge to full, and once right after I did a battery pull. Also had a wake lock. Going back to dalvik :(
     

    Advertisement

  2. hilmar2k

    hilmar2k Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,369
    Joined:
    Jun 29, 2011

    Jun 29, 2011
    1,369
    293
    163
    New York
    ART did not agree with my phone either. Freeze that only a battery pull solved and HUGE battery drain issue. The charger couldn't even keep up with the drain. Back to dalvik and all is fine again.
     
  3. whitehat

    whitehat Android Enthusiast
    Rank:
     #68
    Points:
    288
    Posts:
    329
    Joined:
    Feb 16, 2011

    Feb 16, 2011
    329
    260
    288
    Male
    Putnam County, NY
    I haven't picked up a G3 yet, but I was hoping someone would set up a poll to see if all the ART/Dalvik problems are with Verizon like I expect. The poll would be for the 4 US carriers with other as a 5th choice. The poll would be 'If you have had problems with ART and not Dalvik, please let us know your carrier.'

    I really suspect VZW made a change that hosed ART.
     
  4. rushmore

    rushmore Extreme Android User
    Rank:
    None
    Points:
    323
    Posts:
    8,267
    Joined:
    Nov 13, 2008

    Nov 13, 2008
    8,267
    1,355
    323
    Kentucky
    ART hoses itself. Not all apps or the firmware that is indigenous to all devices plays well with ART. Also, you need to multiply your current app space times 1.4 to see if apps will recompile correctly. You need on average 25% more storage and also another 2gb free for ART to have room to be stable. That is why ART to me sux. Small improvement for a big storage loss.
     
  5. whitehat

    whitehat Android Enthusiast
    Rank:
     #68
    Points:
    288
    Posts:
    329
    Joined:
    Feb 16, 2011

    Feb 16, 2011
    329
    260
    288
    Male
    Putnam County, NY
    That is probably true. What I would like to know is why the most, if not all, complaints of problems with ART that I have seen come from VZW users.

    I only wish T-Mobile would get more towers in my area so I could get rid of Big Bad Red.
     
    Maine Coon likes this.
  6. rushmore

    rushmore Extreme Android User
    Rank:
    None
    Points:
    323
    Posts:
    8,267
    Joined:
    Nov 13, 2008

    Nov 13, 2008
    8,267
    1,355
    323
    Kentucky
    Example: The G3 has about 23gb free, so 21gb for apps with ART to be stable (1gb free for (Dalvik).

    This means the current apps with Dalvik can not be higher than about 17gb, since recompiling increases the app size 25% and 2gb is needed free for ART and the OS.

    The 1.4 factor is considering that some apps increase 30% with ART and the needed free space.

    As far as storage, ART is going the WRONG direction.
     
  7. hilmar2k

    hilmar2k Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,369
    Joined:
    Jun 29, 2011

    Jun 29, 2011
    1,369
    293
    163
    New York

    That's not 100% correct. Not the entire app increases in size, only the executable. On some apps, that's only a small portion of the entire file size.
     
  8. Maine Coon

    Maine Coon Android Expert
    Thread Starter
    Rank:
    None
    Points:
    163
    Posts:
    1,130
    Joined:
    Nov 29, 2011

    Nov 29, 2011
    1,130
    327
    163
    Male
    Heavy Metal
    San Francisco
    may your wish come true :)
     
  9. rushmore

    rushmore Extreme Android User
    Rank:
    None
    Points:
    323
    Posts:
    8,267
    Joined:
    Nov 13, 2008

    Nov 13, 2008
    8,267
    1,355
    323
    Kentucky

    I did not say the whole app ;) If that were the case, the size would nearly double. 25% more storage is needed and 2GB free instead of the usual 1GB. Seems a lot of sacrifice for a little milli second improvement. We are not talking seconds.

    If L has a Dalvik option- I'm so there. Speaking of, I keep hearing people selectively reading the "36% more battery life with L". That was under very strict an controlled conditions and hardware, ie: Highly opportunistic and an outlier. Most of the weight of battery life is indigenous to the device and it's own firmware and hardware features.

    Considering most of the weight on average is the display (well over half for that alone) and the chipset, plus radios, etc. It is highly misleading to tout 36% and highly out of touch with reality. That would be impossible with current devices, unless a Very light user that does not use the device much beyond calls, texting and occasional app use.
     
  10. Lorak

    Lorak Well-Known Member
    Rank:
    None
    Points:
    53
    Posts:
    203
    Joined:
    Jun 29, 2010

    Jun 29, 2010
    203
    62
    53
    ITS
    I've been running ART since I got the phone and have no complaints at all.

    But VERIZON owners be awear that ART doesn't work on your phones worth a crap. Do not run ART if you are on VERIZON. You will have slow downs, horrible battery life, random crashes, ect...
     
  11. AntimonyER

    AntimonyER CHANGED FROM AF ADDICT MIKESTONY
    Rank:
    None
    Points:
    1,343
    Posts:
    13,644
    Joined:
    Jun 18, 2010

    Jun 18, 2010
    13,644
    8,004
    1,343
    Statesboro, GA
    Makes me wonder if it's one of their bloatware apps that is causing the problem.
     
  12. breadnatty08

    breadnatty08 pain rustique
    Rank:
    None
    Points:
    1,413
    Posts:
    19,889
    Joined:
    Nov 8, 2009

    Nov 8, 2009
    19,889
    6,121
    1,413
    District of Columbia
    AntimonyER likes this.
  13. rushmore

    rushmore Extreme Android User
    Rank:
    None
    Points:
    323
    Posts:
    8,267
    Joined:
    Nov 13, 2008

    Nov 13, 2008
    8,267
    1,355
    323
    Kentucky
    ART is EVIL! :)
     
  14. DerrikMo

    DerrikMo Lurker
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Oct 26, 2011

    Oct 26, 2011
    2
    0
    5
    I'm on VZW and have severe battery and freeze issues with ART. Battery discharge much worse and 3 complete freeze issues so far that could only be cured with a battery pull. Changing back now.
     
  15. rushmore

    rushmore Extreme Android User
    Rank:
    None
    Points:
    323
    Posts:
    8,267
    Joined:
    Nov 13, 2008

    Nov 13, 2008
    8,267
    1,355
    323
    Kentucky
    ART really needs the framework and apps to be compliant. It is a crap shoot with KitKat, depending on the apps and what junk is running in the background. Since Verizon is infamous for being the bloat kings, not surprising there are issues ;)

    Seriously though, the actual improvements in relation to stability and storage space being used is NOT worth it with ART. Folks with only about 4GB free right now on their devices will have a rude awakening when L is released.

    ART needs a LOT of room to behave. If a lighter app user, no harm no foul. If a gamer, you will probably be pi$$ed at the tradeoff of storage for nominal improvements.

    Folks could be best served to step back and consider the actual weight of what uses the battery on their device. Most of the weight is the display, chipset and radios. The actual improvement of a few hundred less Mghz of process time for running apps intermittently is NOMINAL in relation to the total battery usage weight of a device.

    Folks seeing "amazing" battery life or "super speedy" response are respectfully potential candidates for placebo studies ;)

    Yep, depending on what apps you use, how you use them and other settings on your device, you could see some improvement, but neither significant or profound. Sometimes the actual improvement noticed is temporary, since part of the normal recompile process is system level cache cleaning as well.

    Same thing as resetting to stock and the device is super speedy. Until you start actually doing stuff on the device for a few days ;)
     
  16. sic0048

    sic0048 Android Enthusiast
    Rank:
    None
    Points:
    78
    Posts:
    545
    Joined:
    Jun 22, 2010

    Jun 22, 2010
    545
    52
    78
    I don't like the question because it isn't just about speed. It's also about compatibility. For me, Dalvik is a much better choice right now because I can use the XPOSED framework to tweak my device.

    ART might be faster, but the tradeoff isn't worth it at this time IMHO. The G3 certainly is not slow or laggy for me (bloat frozen, Nova launcher, tweaked with G3 Tweaksbox and Greenify exposed modules).

    I voted Dalvik
     
  17. jroyjohnson

    jroyjohnson Member
    Rank:
    None
    Points:
    16
    Posts:
    58
    Joined:
    Jul 6, 2012

    Jul 6, 2012
    58
    1
    16
    I tried ART after a week of using Dalvik. I would say I only saw mild improvements in performance. I already had switched to Nova Launcher Pro which ran smoother than the native UI. With ART the most significant performance I saw was when opening apps. The stock calculator seems to take several seconds to load when I'm on dalvik, but opens almost instantly on ART.

    After a few days on ART I switched back, however, as my battery life actually decreased slightly. Most noticably it seemed to drain quicker when the screen was on. Since going back to Dalvik my battery life has returned to normal thankfully.

    To me, the slight bump in performance wasn't worth the decrease in battery life.
     
  18. Steven58

    Steven58 "The Unqualified Moderator!"
    Moderator
    Rank:
     #5
    Points:
    3,973
    Posts:
    33,637
    Joined:
    Feb 19, 2010

    Feb 19, 2010
    33,637
    26,490
    3,973
    Male
    New Jersey, US of A
    Art killed my Galaxy Nexus in 4 days. I'm back on dalvik.
     
  19. UBRocked

    UBRocked VZW Nexus Please!!!
    Rank:
    None
    Points:
    433
    Posts:
    4,334
    Joined:
    Jan 31, 2010

    Jan 31, 2010
    4,334
    1,564
    433
    Ohio
    Wait for Android L to release before running ART. That's just my 2 cents on the matter. I saw a video that MKBHD did where he said he always switched to ART as soon as he got a phone. Without proper OS support and proper app support...it's just for developers at this point IMO.
     
    Steven58 likes this.
  20. hilmar2k

    hilmar2k Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,369
    Joined:
    Jun 29, 2011

    Jun 29, 2011
    1,369
    293
    163
    New York
    Not really an opinion, since the option to switch it is in a hidden developer menu. ;)
     
  21. UBRocked

    UBRocked VZW Nexus Please!!!
    Rank:
    None
    Points:
    433
    Posts:
    4,334
    Joined:
    Jan 31, 2010

    Jan 31, 2010
    4,334
    1,564
    433
    Ohio
    I thought everyone who unlocked the developer mode was a developer though? The phone told me so when I clickity clicked 5 times :D

    I get that people want to try it but I just don't recommend using it right now. Believe me...I'm all about bleeding edge but there is nothing to be gained by switching at this point...more hassle than it's worth.
     
    Steven58 likes this.
  22. hilmar2k

    hilmar2k Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,369
    Joined:
    Jun 29, 2011

    Jun 29, 2011
    1,369
    293
    163
    New York
    I was agreeing with you. Since they hide the option in a hidden (sort of) developer menu, it's obvious they don't think it's ready for prime time just yet.
     
  23. UBRocked

    UBRocked VZW Nexus Please!!!
    Rank:
    None
    Points:
    433
    Posts:
    4,334
    Joined:
    Jan 31, 2010

    Jan 31, 2010
    4,334
    1,564
    433
    Ohio
    We're on the same page. My comments were just for anyone who wanted to listen to my rationale for not using ART ;)

    It's not ready and not really designed for any available version of Android. I'm pretty sure the devs at Google have publically said that as well. I do want it though. Faster load times and smoother performance...those are always welcomed changes!
     
    Steven58 likes this.
  24. grdh20

    grdh20 Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    180
    Joined:
    Sep 17, 2012

    Sep 17, 2012
    180
    26
    43
    Art was intriguing until the second half of this thread. Now it is just a dim memory of what might have been . . .
     
  25. UBRocked

    UBRocked VZW Nexus Please!!!
    Rank:
    None
    Points:
    433
    Posts:
    4,334
    Joined:
    Jan 31, 2010

    Jan 31, 2010
    4,334
    1,564
    433
    Ohio
    Eh...it's a promise of what's to come. ART is replacing Dalvik...that is happening and it's a good thing. It's just not primetime yet ;-)
     

LG G3

The LG G3 was the 2014 flagship device for LG, and was one of the first smartphones on the market with a 5.5-inch 2560 x 1440 display. It featured a Snapdragon 801 processor, 2GB or 3GB of RAM, 16GB or 32GB of internal storage, a microSD card slot, and a 13MP.
Tags:

Share This Page

Loading...