-
Notifications
You must be signed in to change notification settings - Fork 27.5k
ngAnimate causes serious layout thrashing #4124
Comments
This is the same issue as #4011, but definitely would love to have it addressed. |
@joegaudet Probably. My issue has more data, though. ;) |
Yeah, we experience the same thing our app. We have tables of 400 + rows, which basically makes the app unusable. I put a guard in the animation code, but that ends up thrashing the filtering on repeaters.... so I guess waiting for @matsko et al. |
These looks like exact screen grabs of the timeline profiles for EPG app we're building right now. |
The plan is to performance-tune ngAnimate using caching. Getting to work on this today and tomorrow actually. |
@matsko sweet man, can't wait. Thanks as always for your hard work man. |
My pleasure :) |
@mzgol @joegaudet please try testing out your code using the JS files mentioned in #4011 (comment) |
@matsko Unfortunately, after applying your patch there's still severe layout trashing with |
@mzgol merging something in so I'll be closing this issue soon. |
…the performance of CSS3 transitions/animations Closes angular#4011 Closes angular#4124
Landed as ddcbf76 |
I confirm the issue is fixed on current master. Thanks again. Good work. :) |
Definitely. Congrats @matsko. 👍 |
👍 👍 👍 |
…the performance of CSS3 transitions/animations Closes angular#4011 Closes angular#4124
…the performance of CSS3 transitions/animations Closes angular#4011 Closes angular#4124
Using ngAnimate can cause serious layout thrashing. Compare two videos:
ngAnimate
included: http://youtu.be/kUf9vDYIlt0ngAnimate
from the list of modules our app depends on: http://youtu.be/210VHxidY0oI recorded Timeline profiles for an operation of switching the tab from the second to the third one; version with
ngAnimate
causes a massive amount of reflows:ngAnimate
included:ngAnimate
:One of my colleagues, @jrencz, created videos of analogous operations on his 4-year-old MacBook, notice the slowness:
ngAnimate
included: http://www.youtube.com/watch?v=FEmSiWq1qAIngAnimate
excluded: http://www.youtube.com/watch?v=bshDaxUAzU4The text was updated successfully, but these errors were encountered: