ART vs Dalvik

Discussion in 'Alternatives to iOS and iOS Devices' started by HiDEF, Mar 25, 2014.

  1. HiDEF macrumors 68000

    HiDEF

    Joined:
    Jun 23, 2010
    Location:
    Miami, FL
    #1
    Is it worth switching from Dalvik to ART? I know I'll lose Xposed with ART and some apps are still adapting but I've read some mixed reviews; some recommend it over Dalvik and some don't.

    Would like to hear what some of you have to say about this or personal experiences.
     
  2. MRU macrumors demi-god

    MRU

    Joined:
    Aug 23, 2005
    Location:
    Ireland
    #2
    I switched. Took a hit on battery life it seemed at first, but after removing a couple of apps that were seemingly hitting battery and I wasn't using them - battery has if anything gotten better over Dalvik (not by a big margin however).

    To be honest - there isn't a huge difference between the two - but I decided if all the apps I am using support the new kernel then I'll use it for 'future sake' rather than for any 'immediate' benefit.

    Memory usage day in day out seems about the same and app responsiveness isn't that much different either. You could argue the toss over a millisecond difference in apps ABC to art over dalvik and apps DEF to dalvik over art etc...

    Basically it seems to me ART is likely androids future .... and where going forward we will see optimisations.

    HOWEVER at the moment Dalvik is very optimised even Qualcom have optimised their chips for the dalvik kernel, more so than ART so as I say there isn't a huge tangible benefit right now. But going forward ... we shall see.
     
  3. HiDEF thread starter macrumors 68000

    HiDEF

    Joined:
    Jun 23, 2010
    Location:
    Miami, FL
    #3
    Good stuff, Mac. :D Thanks for the input.
     
  4. Dr McKay macrumors 68040

    Dr McKay

    Joined:
    Aug 11, 2010
    Location:
    Kirkland
    #4
    I'm on Cyanogenmod 11 and would love to try it but I get this warning every time I select it.
     

    Attached Files:

  5. TechGod macrumors 68040

    TechGod

    Joined:
    Feb 25, 2014
    Location:
    New Zealand
    #5
    My Nexus 4 performance has increased by a noticeable margin. I get roughly an hour extra with ART as well. Maybe the effect of ART only shows on slightly older hardware?
     
  6. MRU macrumors demi-god

    MRU

    Joined:
    Aug 23, 2005
    Location:
    Ireland
    #6
    They did say kitkat in general does much more for older hardware performance benefit wise. Sadly very few older devices will see kitkat and even lesser will have the ability to run ART.
     
  7. TechGod macrumors 68040

    TechGod

    Joined:
    Feb 25, 2014
    Location:
    New Zealand
    #7
    I compared ART and dalvik. ART won every time:/
     
  8. MRU macrumors demi-god

    MRU

    Joined:
    Aug 23, 2005
    Location:
    Ireland
    #8
    I'm not disagreeing with you, I'm agreeing with you ;)

    I'm just saying kitkat in general gives older hardware more tangible and perceivable performance boost than it does on newer hardware. This is regardless of Art v Dalvik, but then the additional benefit of Art where apps are pre-compiled means it should give a benefit to that older hardware by making apps load quicker and less stress on CPU at launch.

    The second point I was making is that despite googles efforts to make kitkat more beneficial to older hardware, very few older machines/devices will ever see 4.4 which is a shame.

    Indeed just looking at my own google developer account stats, it seems majority of apps I have developed are running on much older android hardware (android 2.2.3) than 4.2, 4.3 & 4.4 combined ...
     
  9. TechGod macrumors 68040

    TechGod

    Joined:
    Feb 25, 2014
    Location:
    New Zealand
    #9
    Right now I understand. I'm on a two year upgrade not because I'm on a contract though. Parents getting in the way of my addiction and all :D

    That's certainly true KitKat boosted my Nexus 4 battery and performance so its amazing!
     
  10. TacticalDesire macrumors 68020

    TacticalDesire

    Joined:
    Mar 19, 2012
    Location:
    Michigan
    #10
    There is a slight performance increase with my Moto X but I have experienced at least one app not working because of it. Hopefully Google and developers do more with it.
     
  11. MRU macrumors demi-god

    MRU

    Joined:
    Aug 23, 2005
    Location:
    Ireland
    #11
    1 app causing me issues with ART


    Facebook.....

    Seems to get stuck quite often and then consumes a lot of resources or will crash out.

    When it works its blindingly fast, when it acts the maggot it's a nightmare.
     
  12. HiDEF thread starter macrumors 68000

    HiDEF

    Joined:
    Jun 23, 2010
    Location:
    Miami, FL
    #12
    I've been on ART for the last 48hrs and I don't see a difference except maybe my battery life which has taken a slight hit--could be that the Kernel hasn't settled but I'm not sure.

    Just might go back to DALVIK and get all my xposed modules back.
     
  13. gotluck macrumors 603

    gotluck

    Joined:
    Dec 8, 2011
    Location:
    East Central Florida
    #13
    I turned ART on day one and have never switched back. IMO scrolling is improved, but I suppose it could all be in my head.
     
  14. HiDEF thread starter macrumors 68000

    HiDEF

    Joined:
    Jun 23, 2010
    Location:
    Miami, FL
    #14
    I read somewhere about the scrolling as well but I don't see a difference.

    Are you talking about scrolling with a particular app or just in general?
     
  15. gotluck macrumors 603

    gotluck

    Joined:
    Dec 8, 2011
    Location:
    East Central Florida
    #15
    just in general, feels smoother particularly when scrolling super fast on long web pages.

    I believe it was androidpolice that did a writeup on how any performance gains are minimal or in some criteria nonexistant

    Im still drinking the ART koolaid though
     
  16. TechGod macrumors 68040

    TechGod

    Joined:
    Feb 25, 2014
    Location:
    New Zealand
    #16
    It is smoother. It takes some time to settle in though. first two days my Nexus 4 battery life was horrible but then I got a massive boost.
     
  17. kokhean macrumors regular

    Joined:
    Dec 30, 2010
    #17
    ART completely eliminated the micro lags on my Nexus 7, it's no placebo.
     
  18. three macrumors 6502a

    three

    Joined:
    Jan 22, 2008
    Location:
    Washington State
    #18
    I've felt the same exact thing with my Nexus 7. It felt smoother with ART enabled.
     

Share This Page