I am having trouble debugging my javascript performance in chrome devtools. I am doing some heavy animations, and I encountered something I don't understand in my timeline (while running some animations).
I marked click events with red circles. The blue squares with green 'animation' written on them are animations (what a surprise). And the red square is where I have my problem.
It takes between 300-400 ms, and happens after the animation ends. The call stack is nearly empty, and I am no devtools expert. Is there something obvious going on, that I don't see?
Also, if I wait a little longer the animations runs smoother, and those red long frames are gone.
In the project I use Backbone, underscore, jQuery and TweenMax for animations.
Judging from how your Timeline panel looks I'm guessing you are using older version of Chrome. Please update to v57. There was a bug in previous versions where expected delay between animations was marked red (long frame). See this report.