ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
51.02k stars 13.52k forks source link

Android perfomance (list scroll - ng-repeat) #1322

Closed zelphir closed 9 years ago

zelphir commented 10 years ago

I'm having performance issues on android devices (HTC ONE, HTC ONE M8, so top gamma) and android emulators (official one using GPU and x86 as cpu arch and genymotion).

Basically I have just a simple list of ten elements with an image (different images). On iOS is super fast and smooth (both simulator and iphone), on Android is super slow, buggy and randomly crashes the app (if I scroll too fast).

The images are 800x800px scaled with css width:100% to fit the list width.

karneaud commented 9 years ago

Been having the same issue using .14-beta build ....built this trail demo http://kendallarneaud.me/mobile/android/AATT/version/0.0.2.3/ using ion-content ion-infinite-scroll and ng-repeat with at most 300 items loading 10 at a time. On an iPhone4 safari it crashes and on a Android 4 tablet android browser(not chrome) it is sluggish. So there is mos def something wrong with the framework. Looking through this issue i'm going to try some of your suggested workarounds and see if it helps

Alexintosh commented 9 years ago

I'm having huge scroll problems too, just 30 items list with images. Actually using collection-repeater overflow-scroll="true" PTR (seems better without) crosswalk on Cordova CLI: 4.3.0 Ionic Version: 1.0.0-beta.14 Ionic CLI Version: 1.3.11

oaleynik commented 9 years ago

Crosswalk works way better for me. Tested on Xperia Z, Android KitKat 4.4.4

karneaud commented 9 years ago

@Alexintosh what version test devices you use? although it gets buggy with Android 4.0 and iPhone 4 iOS 7 it was noted to work fine with iPhone 5s with iOS 8

Alexintosh commented 9 years ago

I'm using Nexus 5 stock rom with android 5.0.1

karneaud commented 9 years ago

Wow....that really is bad...i suggest a new framework

Fayozjon commented 9 years ago

karneaud

http://ongpasoaldesarrollo.org/capital_opciony

19.03.2015, 20:09, "karneaud" notifications@github.com:Wow....that really is bad...i suggest a new framework

—Reply to this email directly or .

Fayozjon commented 9 years ago

Alessio

http://www.baltdivision.ru/pamm

19.03.2015, 18:14, "Alessio Delmonti" notifications@github.com:I'm using Nexus 5 stock rom with android 5.0.1

—Reply to this email directly or .

Fayozjon commented 9 years ago

Oleg

http://goohoo.net/strategii_robot

14.03.2015, 20:25, "Oleg Aleynik" notifications@github.com:Crosswalk works way better for me. Tested on Xperia Z, Android KitKat 4.4.4

—Reply to this email directly or .

mbossX commented 9 years ago

...

juan-orca commented 8 years ago

@Alexintosh I am on Nexus 5 as well and am having issues with ~10 items of images. However, my friend has the iphone6 and it works great on his