This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Description
Using ngAnimate can cause serious layout thrashing. Compare two videos:
- Our current app,
ngAnimate
included: http://youtu.be/kUf9vDYIlt0
- Our current app with just one difference - removing
ngAnimate
from the list of modules our app depends on: http://youtu.be/210VHxidY0o
I 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:
- Timeline with
ngAnimate
included:

- Timeline without
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=FEmSiWq1qAI
ngAnimate
excluded: http://www.youtube.com/watch?v=bshDaxUAzU4