[Q] Dalvik vs ART? - Blu Vivo Air

Anyone notice any performance improvements?
Hmm guess shoulda gone in q and a...

itsJohnuno said:
Anyone notice any performance improvements?
Hmm guess shoulda gone in q and a...
Click to expand...
Click to collapse
I switched to ART a couple of day ago. Phone seemed to struggle with the stock apps. @bmxerkid954 mentioned that its probably because those apps are not optimized for ART yet. Try it out and let us know your experience.

Related

Art vs Dalvik?

What is Art? Is it risky to change to art in developer options?
Sent from my AOSP on Mako using XDA Premium 4 mobile app
Orry520 said:
What is Art? Is it risky to change to art in developer options?
Sent from my AOSP on Mako using XDA Premium 4 mobile app
Click to expand...
Click to collapse
http://www.xda-developers.com/android/new-runtime-compiler-in-android-4-4/
It's not risky, but you will have an eternal boot after rebooting, and the effect, nowadays is 0. Wait till future android releases, when ART will be improved.
ART
luiseteyo said:
It's not risky, but you will have an eternal boot after rebooting, and the effect, nowadays is 0. Wait till future android releases, when ART will be improved.
Click to expand...
Click to collapse
I have a nexus 7 2013 and tried an alpja of android 4.4. Experimented with the ART option and my device did boot. Just had an awful lot of force closes. But the performanve difgerence on working apps is very impressive. I ran quadrant and my cpu score doubled
TEW999 said:
I have a nexus 7 2013 and tried an alpja of android 4.4. Experimented with the ART option and my device did boot. Just had an awful lot of force closes. But the performanve difgerence on working apps is very impressive. I ran quadrant and my cpu score doubled
Click to expand...
Click to collapse
I don't know. I didn't experience a thing in my n4. I didn't do a benchmark but I am sure it didn't improve.. And yes, whatsapp fc
Next time i have a tinker with aosp 4.4 ill post a screenshot of dalvik vs art. See what people think. Hopefully ART will reolave dalvik completely in the next version of android
TEW999 said:
I ran quadrant and my cpu score doubled
Click to expand...
Click to collapse
This is probably because the benchmark isn't working properly with the new VM. I sincerely doubt Dalvik is wasting 50% of the CPU's performance.
evilspoons said:
This is probably because the benchmark isn't working properly with the new VM. I sincerely doubt Dalvik is wasting 50% of the CPU's performance.
Click to expand...
Click to collapse
i doubt that it wont, ipod touch does better then gnex on cpu things
evilspoons said:
This is probably because the benchmark isn't working properly with the new VM. I sincerely doubt Dalvik is wasting 50% of the CPU's performance.
Click to expand...
Click to collapse
it does. when using the s4 dalvik during 4.3, nexus scores did nearly the same. and the scores using art or the s4 dalvik is nearly the same.
You might be interested in a video I just put together.
Nark.GA60 said:
You might be interested in a video I just put together.
Click to expand...
Click to collapse
Good job on the hard work. I didn't notice load times, but I did notice a difference in the smoothness of scrolling. Homepage and others like Internet.
Sent from my Nexus 4 using Tapatalk
At the moment I personally would not use ART over Dalvik, simply because even Google does not consider it ready for primetime yet.
I know, that normally doesn't mean much given the amount of tinkering we are doing with out phones, but on something this integral to the OS, I would wait until the original developers consider it stable, and once the app devs can have a crack at it.
For those who have tested, is it normal to have to build the cache/optimizing 60+ apps on each reboot? I'm assuming it's the Gapps that is being affected? Any work around discovered, so far?
sgtkwol said:
For those who have tested, is it normal to have to build the cache/optimizing 60+ apps on each reboot? I'm assuming it's the Gapps that is being affected? Any work around discovered, so far?
Click to expand...
Click to collapse
normal with ART. itll do that every reboot when using ART. no work around, its supposed to do that. besides youre lucky, i get 120 apps rebuilding their dalvik on every boot.
simms22 said:
normal with ART. itll do that every reboot when using ART. no work around, its supposed to do that. besides youre lucky, i get 120 apps rebuilding their dalvik on every boot.
Click to expand...
Click to collapse
Guess I'll wait for better stability (using a Gnex, but Google search for Dalvik vs ART brought me here) before I throw the switch. I don't mind random reboots for bleeding edge, but if they take 5 minutes, it sucks.
sgtkwol said:
Guess I'll wait for better stability (using a Gnex, but Google search for Dalvik vs ART brought me here) before I throw the switch. I don't mind random reboots for bleeding edge, but if they take 5 minutes, it sucks.
Click to expand...
Click to collapse
i use a custom 4.3 kernel too.. so whatll hapoen is itll get to like app 80 then freeze. ill force reboot it and itll start over. sometimes itll take an hour before it actually finishes, lol. honestly, for now, dalvik is the better of the two. oh, and i miss my gnex, it got stolen 2 months ago
simms22 said:
normal with ART. itll do that every reboot when using ART. no work around, its supposed to do that. besides youre lucky, i get 120 apps rebuilding their dalvik on every boot.
Click to expand...
Click to collapse
Guys, my N5 rebuilt the apps the first time I rebooted after activating ART. Since then, I have rebooted a couple of times and the apps have not rebuilt and the runtime is still ART.
Not sure why the behavior is different from phone to phone and it makes me wonder whether I should switch back to Dalvik.
Has anyone experienced any issue after reverting from ART to Dalvik?
Wolfy666 said:
Guys, my N5 rebuilt the apps the first time I rebooted after activating ART. Since then, I have rebooted a couple of times and the apps have not rebuilt and the runtime is still ART.
Not sure why the behavior is different from phone to phone and it makes me wonder whether I should switch back to Dalvik.
Has anyone experienced any issue after reverting from ART to Dalvik?
Click to expand...
Click to collapse
no. i go back and forth frequently, no issues. from what i hear from n5 users, its the same, its not getting rebuilt every boot. but, these are n4's
simms22 said:
normal with ART. itll do that every reboot when using ART. no work around, its supposed to do that. besides youre lucky, i get 120 apps rebuilding their dalvik on every boot.
Click to expand...
Click to collapse
Gnome's odexed version fixed this issue, only rebuild cache on first enable of ART. Not every reboot.
Sent from my Nexus 4 using Tapatalk
---------- Post added at 04:54 PM ---------- Previous post was at 04:45 PM ----------
steadly2004 said:
Gnome's odexed version fixed this issue, only rebuild cache on first enable of ART. Not every reboot.
There's also an updated pagapps that works for ART and divlak
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Sent from my Nexus 4 using Tapatalk
---------- Post added at 04:56 PM ---------- Previous post was at 04:54 PM ----------
Gnome's odexed version fixed this issue, only rebuild cache on first enable of ART. Not every reboot.
There's also an update pagapps that works with dalvik and ART.
Sent from my Nexus 4 using Tapatalk
Hi!
I upgraded to Android 4.4 KitKat on my Nexus 4 from here:
developers.google.com/android/nexus/images#occam
deleted file in flash-all.bat option "-w" to save my apps and settings. A few hours later I decided to try switch to ART. But I got a bootloop. Can I via fastboot mode go back to dalvik?

Note 4 and ART

Anybody tried enabling ART on their Verizon N4 and if so, has it been stable? I know on the Verizon S5 it was causing crashes and reboots.
Sent from my SM-N910V
TheMavic said:
Anybody tried enabling ART on their Verizon N4 and if so, has it been stable? I know on the Verizon S5 it was causing crashes and reboots.
Sent from my SM-N910V
Click to expand...
Click to collapse
i would advise staying away from it until lollipop. You really wont be able to appreciate and use its full potential on kitkat anyway
i should maybe try since i havent activated mine yet
ive been using it for 5 hours now with no issue. it did heat up real good optimizing though
TheMavic said:
Anybody tried enabling ART on their Verizon N4 and if so, has it been stable? I know on the Verizon S5 it was causing crashes and reboots.
Sent from my SM-N910V
Click to expand...
Click to collapse
I have ART on my S5, and it's been running great. I had to remove couple of games, though.
maybe the more ambitious can try it and report back?
mngdew said:
I have ART on my S5, and it's been running great. I had to remove couple of games, though.
Click to expand...
Click to collapse
Is that the Verizon S5? On mine it causes all sorts of problems.
TheMavic said:
Is that the Verizon S5? On mine it causes all sorts of problems.
Click to expand...
Click to collapse
Yes, it is VZW model.
The general consensus is to hold off on it until lollipop, but I will probably try it at some point anyway.
Trying it on mine now. Took quite sometime to optimize. So far, I've restarted 3 times and each time it has optimized like 60 apps..not sure how long I will stay with it
Sent from my SM-N910V using XDA Free mobile app
Art is working fine for me. Haven't found any apps having a problem.
Is it really worth switching or just trying it out?
ART is running strong with no apparent issues.
I've been using it for 24 hours now and not one issue. Everything is smooth and no force closes
Sent from my SM-N910V using XDA Premium HD app
Arie McD said:
ART is running strong with no apparent issues.
Click to expand...
Click to collapse
Great to hear, giving it a whirl now.
Lots of peeps reporting keeps optimize apps on every reboot, I included. Had to go back to Dalvic.
Poloasis said:
Lots of peeps reporting keeps optimize apps on every reboot, I included. Had to go back to Dalvic.
Click to expand...
Click to collapse
Yeah, I ran into the same thing. The interesting thing is that on first reboot it had to optimize some 250 apps, I did a restart to see if it would do the same, this time it is optimizing again but only 87.
I almost never reboot my phone so I will try it out for a couple days, see if there is any battery gains or losses.
So far, I have seen no benefit. I do hate that most every time I restart the phone, it seems to optimize the same 25 files increasing the boot time. I have switched back to Dalvik for until specific and substantial advantages are verified and posted. If miliseconds reduction in UI response are the only benefit, I am not in that big of a hurry.
Hope this helps.
Only thing I noticed is that S health crashes now that ART is enabled. Which I normally wouldn't care about, except I'm one of the few that likes the heart rate feature. -___-

ART vs Dalvik

Which runtime are you running? Have you noticed any difference?
I tried switching to ART, but every time I restarted my phone it would spend 15 minutes upgrading ~100 applications. I restarted it about 4 times, and it upgraded every time.
I typically avoid ART. It produces random issues on my G2, Nexus 5 and S4. Dalvik for me until Lollipop!
geoff5093 said:
Which runtime are you running? Have you noticed any difference?
I tried switching to ART, but every time I restarted my phone it would spend 15 minutes upgrading ~100 applications. I restarted it about 4 times, and it upgraded every time.
Click to expand...
Click to collapse
You need to wait it out, it always takes awhile to update all of the applications when you initially change runtimes.
I'm on ART, no issues so far.
Maybe a dumb question, buy how do you switch?
Sent from a Droid Turbo via Tapatalk
disc.ordian said:
Maybe a dumb question, buy how do you switch?
Sent from a Droid Turbo via Tapatalk
Click to expand...
Click to collapse
Go to About Phone in settings, then click on the Build number until the toast notification tells you that you are a developer. Then go back and click on Developer Options and then Runtime.
geoff5093 said:
Which runtime are you running? Have you noticed any difference?
I tried switching to ART, but every time I restarted my phone it would spend 15 minutes upgrading ~100 applications. I restarted it about 4 times, and it upgraded every time.
Click to expand...
Click to collapse
im having same issue when using ART. it optimizes apps (15 of it) every time i reboot, ive rebooted at least 5 times, i think currently Turbo isnt very compatible with ART
Well ART on Kitkat is not even close to ART on Lollipop and ART on Kitkat is experimental so I don't know why people would be surprised when it doesn't work quite right...
theclash150 said:
Well ART on Kitkat is not even close to ART on Lollipop and ART on Kitkat is experimental so I don't know why people would be surprised when it doesn't work quite right...
Click to expand...
Click to collapse
I'm surprised 6 people have voted ART.
theclash150 said:
Well ART on Kitkat is not even close to ART on Lollipop and ART on Kitkat is experimental so I don't know why people would be surprised when it doesn't work quite right...
Click to expand...
Click to collapse
Well it worked flawlessly on Droid Maxx, and seemed faster than Dalvik. On Turbo it's always optimizing upon every reboot 15 apps. BTW has anyone else noticed weirdness about phone dialer? It takes several clicks and random presses on the screen to get the keypads to come up...
Did you guys have bench numbers for Dalvik vs. ART?
For me Dalvik seems to be slightly faster:
Dalvik: AnTuTu: 48989
ART: AnTuTu: 47467
Benchmarks do not accurately represent the increased responsiveness in the interface. Benchmarks generally are a pretty poor way to compare real world performance.
theclash150 said:
Benchmarks do not accurately represent the increased responsiveness in the interface. Benchmarks generally are a pretty poor way to compare real world performance.
Click to expand...
Click to collapse
We can argue ad infinitum, but benches are still better than a "gut feeling" or "I can see smooth"
Think what you want but ART runs the UI more smoothly regardless of what some "benchmark" says.
So does ART "optimize" on every boot? For some reason I didn't think it did, but when I switched to ART on my Turbo it seems every time I reboot it goes through the "optimizing apps".
I'm using ART just because we aren't rooted, so none of the good root-only apps that are incompatible with ART are an issue.
hajabooja said:
So does ART "optimize" on every boot? For some reason I didn't think it did, but when I switched to ART on my Turbo it seems every time I reboot it goes through the "optimizing apps".
Click to expand...
Click to collapse
Same here, that's why I switched back. Whenever it rebooted it optimized apps, and it took a good 10-20 minutes for it to finish. If it was on battery, the battery dropped significantly and the phone got very warm.
I ran both on my Razr Maxx HD, seems to get better battery life, and it seems a bit more responsive running Dalvik. That is just an uninformed opinion. I settled on Dalvik, it just feels nicer to me.
If you want to use ART I recommend doing the switch before you install anything from Google play not after when you have lots of apps installed.
Switched to ART just to see. First reboot optimized 255 apps (expected). Rebooted again, optimized 75 apps. Tried rebooting again and again optimized 75 apps. Anyone have any idea why? I'm thinking maybe it's because Verizon placed so many apps in system/app...
PerCompLLC said:
Switched to ART just to see. First reboot optimized 255 apps (expected). Rebooted again, optimized 75 apps. Tried rebooting again and again optimized 75 apps. Anyone have any idea why? I'm thinking maybe it's because Verizon placed so many apps in system/app...
Click to expand...
Click to collapse
Stop rebooting?
Sent from my XT1254

App Optimization Issue

I've noticed that every time I reboot my Turbo, the device always goes through App Optimization. This wouldn't be that big of an issue except that it takes like 10 minutes and I've never had this problem with my past devices.
I suspect that this has to do with the fact that I'm running ART. However, I did the same with my last device and it didn't do app Optimization every time I rebooted.
Anyone else seeing this same thing?
Sent from my XT1254 using XDA Free mobile app
As you said, an issue with ART.
adrynalyne said:
As you said, an issue with ART.
Click to expand...
Click to collapse
Thank you for confirming this.
Sent from my Nexus 7 using XDA Free mobile app
cmchance said:
I've noticed that every time I reboot my Turbo, the device always goes through App Optimization. This wouldn't be that big of an issue except that it takes like 10 minutes and I've never had this problem with my past devices.
I suspect that this has to do with the fact that I'm running ART. However, I did the same with my last device and it didn't do app Optimization every time I rebooted.
Anyone else seeing this same thing?
Sent from my XT1254 using XDA Free mobile app
Click to expand...
Click to collapse
It shouldn't be doing it on every boot, that means it's wiping cache each time. It will do it if you install new apks but only for the ones you install. With art it does take very long, maybe try a FDR...
an21281 said:
It shouldn't be doing it on every boot, that means it's wiping cache each time. It will do it if you install new apks but only fo4 the ones you install. With dalai it does take very long, maybe try a FDR...
Click to expand...
Click to collapse
No, its an ART issue. There is no fix aside from not using it or not rebooting.
This is a known issue that will likely be resolved with lollipop. At least I hope...
PerCompLLC said:
This is a known issue that will likely be resolved with lollipop. At least I hope...
Click to expand...
Click to collapse
If it doesn't get fixed...
Considering ART is the only option there, I could see a class action lawsuit.
ART is experimental on KitKat, all you have to do is run Dalvik and no problem.
adrynalyne said:
If it doesn't get fixed...
Considering ART is the only option there, I could see a class action lawsuit.
Click to expand...
Click to collapse
Im not to worried about art not working on lollipop because i believe it will. I think the only issue I will have is to make sure all the apps that I used are optimized to run on art. I notice there are still quite a few that I still use that haven't yet.
Well I had lollipop on the nexus 6 and on the moto g. It's nothing special, kit kat is smoother and less bugs. The nexus 6 had a ton of problems. ART only reduces memory usage, other than that it's about the same as dalvik.
ryude said:
Well I had lollipop on the nexus 6 and on the moto g. It's nothing special, kit kat is smoother and less bugs. The nexus 6 had a ton of problems. ART only reduces memory usage, other than that it's about the same as dalvik.
Click to expand...
Click to collapse
Uh.....
Native app perfornance vs. JIT compiled apps.
Trust me, ART is worth it.
Nexus 6 performance sucks due to encryption, nothing else.
adrynalyne said:
Uh.....
Native app perfornance vs. JIT compiled apps.
Trust me, ART is worth it.
Nexus 6 performance sucks due to encryption, nothing else.
Click to expand...
Click to collapse
Speaking from personal experience here. I disabled encryption and it was still laggy.
ryude said:
Speaking from personal experience here. I disabled encryption and it was still laggy.
Click to expand...
Click to collapse
So am I.
I have a Nexus 7 and performance increased substantially.
I also have friends that disagree with you re: the N6. To each their own of course.
Seems to me, that while some apps are not compatible at all with ART, some just need more help. Could these be the ones that need recompiling on each boot?
My Droid Maxx takes 30 sec to do the same 5 apps on each boot!

Awful artifacts/dithering

Anyone else noticing awful artifacts on shadows/bitmap transparency?
Pretty much any kind of gradient. I think it has something to do with dithering. Yesterday, I went on a roll and flashed like 5 roms (cm13, aosp-caf, exodus, halogenOS) I'm running slim6. And all of them seemed to have the same problem.
Hello,
Hah i checked it with same skin on, and no, mine is clear. Interesting, did it appeared just so or you have it from start?
Seimus said:
Hello,
Hah i checked it with same skin on, and no, mine is clear. Interesting, did it appeared just so or you have it from start?
Click to expand...
Click to collapse
hmm.
I honestly don't know. It's something I started seeing recently. But it could've been there since the beginning.
What rom/kernel are you running?
macymagiska said:
hmm.
I honestly don't know. It's something I started seeing recently. But it could've been there since the beginning.
What rom/kernel are you running?
Click to expand...
Click to collapse
I am using stock MM ROM from Oneplus with the newest realease, cause for me is the best and has overall long battery life. You can try an update of ROM to MM if you are not already running it.

Categories

Resources