Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

Laggy slide performance on Samsung S4 and Note 3 #66

Open
ttiurani opened this issue Oct 26, 2013 · 9 comments
Open

Laggy slide performance on Samsung S4 and Note 3 #66

ttiurani opened this issue Oct 26, 2013 · 9 comments

Comments

@ttiurani
Copy link

For some reason the slide performance is not very responsive with the new Samsung Galaxy S4 and Note 3 on both the default browser and Chrome. This is odd, as the first Note (equivalent hardware to S2) works really well and the hardware is miles behind the new phones.

The demo site at http://webkitten.handcraft.com, however has a super smooth slide on the Note 3 (and probably also the S4), so it is possible to make smooth transitions with the new hardware.

I'm just guessing but could it be that hardware acceleration with translate3d is not on for S4/Note3. Any thoughts on how to fix?

@gsabater
Copy link

Any news on that?
We're developing a web app with this module too and the experience sliding is somewhat laggy.
we test it on iphone 5

@revolunet
Copy link
Owner

Not much time to work on it yet sorry :/ Im not sure what samsung did on their last series about the 3d transitions.

Also i should implement requestAnimationFrame here to limit the animations.

@bondaestudi : you have slow perf on iPhone 5 ?

@gsabater
Copy link

@revolunet On the iphone 5 the performance is not exactly slow, but the transitions don't feel smooth at all. We could say that the movement is done at 20fps, acceptable but definitely not a "native feel".

@revolunet
Copy link
Owner

I just pushed a new version with different animations that should play better with various devices thanks to requestAnimationFrame. its smooth here. would be nice if you could check again and tell me if its better. thanks guys.

@kconragan
Copy link

I'm experiencing somewhat lower performance when testing on a second gen Nexus 7 using the latest Chrome. Specifically, I'm dropping to ~25 FPS if I slow my gesture down. I hit ~45 FPS with a fast swipe. It'd be wonderful if there are any additional performance improvements possible. Thanks!

@revolunet
Copy link
Owner

will check that thanks

@revolunet revolunet reopened this Feb 18, 2014
@revolunet
Copy link
Owner

@kconragan ive invesitgated on my nexus4+chrome. For some reason, the slower you move the slide, the slower are the FPS, which i really don't understand yet. do you feel the slowness or is it only the FPS that bugs you ? I experience the same behaviour on chrome desktop too. i'd appreciate an explanation of this phenomen :)

@kconragan
Copy link

I can definitely feel the slowness, independent of any FPS readings. If you go slow enough, you start seeing the scrolling taking place in multiple pixel increments as it struggles to keep up. FWIW, I recreated the prototype I'm working on using iSwipe, and it feels much smoother. Not sure if that could be a useful point of reference for you. Let me know if I can provide more info, happy to help!

@marcsyp
Copy link

marcsyp commented Jun 19, 2014

I'm also having really poor performance on a Galaxy S5, viewing full size images from the camera. (3000x5000). Usually the first transition is the worst, and occasionally I get a flicker or, worse, the transition finishes, I see the previous slide, and then the new slide reappears. Subsequent swipes are very laggy, and I get occasional crashes.

Any update on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants