df71c78332045a362707239e1ff1e413097f0852
This change adds a delay before Animator::BeginFrame calls its delegate's OnAnimatorNotifyIdle. This is because under certain workloads, such as our parent view resizing us, which is communicated via viewport change events, we won't have a frame scheduled yet in the animator, despite the fact that we will go on to schedule a frame once the viewport event arrives. In Fuchsia's resizing performance test, on our reference high end x86-64 hardware, the previous logic was resulting in a ~45ms garbage collection right after the first frame of an animation.
Description
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%