How to deal with the warning: violation requestanimationframe took etc?


I have complex angular application which use pure cesium.

The problem is that at “startup” i have a lot of warning like:

Violation ‘requestAnimationFrame’ handler took 742ms.
Violation ‘load’ handler took 80ms.

I tried to do settimeout for creation the Viewer object, but it just make the warnings occure later…

What do you recommend to do?

Thanks in advance