jordansinger / Hook

Pull to refresh for the web
MIT License
1.6k stars 281 forks source link

Performance isn't great #2

Closed skyzyx closed 11 years ago

skyzyx commented 11 years ago

This uses jQuery-based animation without leveraging requestAnimationFrame, so the computation uses CPU instead of GPU.

Have you considered leveraging CSS Transitions instead? They're well-supported and are fully GPU-accellerated.

jordansinger commented 11 years ago

We tried CSS animations early on... didn't perform too well actually to your surprise. We are still playing around so I won't rule it out though. I agree they are very smooth and easy to use.