-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Violation] 'requestAnimationFrame' handler took xx ms #671
Comments
Just letting you know, we are going to investigate this in a non-priority fashion. It's important to understand, that this is not an actual error. It's an advisory warning. Meaning it does not have any real impact on functionality, but serves as a tip for application developers. When the chart is building itself, it will try to chunk up the process into smaller increments if it takes too long. This gives browsers some breathing space. Right now this is hardcoded process, but we are implementing configuration options to control it. Technically, you will be able to reduce the cutoff time, so each chunk is less than Chrome's control 50ms to get rid of the warnings. BUT (there's always a one) it will come at the expense of risking that chart builds itself gradually. Meaning will see how different elements of the chart appear, as opposed to the chart just popping into place. (to see what I mean try some complex chart in an IE, which is painfully slow) We're looking for ways to resolve that, too. Not sure how/if/when that will happen. Just wanted you to have the full picture. |
Any updates on addressing this Issue, Because due this other animations in the page are getting affected |
Any news? My console log gets flooded by this... |
Any update for this concern? |
I'm also running into this issue. |
+1 |
I have the same problem on a simple page with a simple graph. |
I have it too with a pretty standard mapchart |
I still have this issue. I doubt it will be addressed if this thread is from 2018, and it's 2021 atm. |
me too, please update! |
+1 |
Same problem with >4 graphs by page (desktop or mobile). Chartjs no problems and is much faster. Any updates ? |
It's very poor performance |
I tried downgrading AmCharts 4 version to 4.5.13 and the infinite calling of "[Violation] 'requestAnimationFrame' handler took ms" in console stop but it didn't remove all, there are still warnings seen in console from time to time. Is there any updates for this issue? |
Any updates on this? |
+1 |
Please, do we have any updates on this? |
This really makes UI render very slow. Any update on these warnings? |
Update on this? |
tengo el mismo problema |
I need an update as well! |
Did anyone found solution for the same? I am using ngx-pie charts |
The performance is surely affected it is very laggy |
Lately I saw this warning "[Violation] 'requestAnimationFrame' handler took 570ms" as you can see in the video.
I've tried amchart 3 on your demo page and I saw that warning in rare cases.
The problem is that I have about 4-6 graphs on same page and to render them it takes about 3-4 sec.
That is not very user friendly. The data in charts have between 20-100 points / graph.
Is there a way I can reduce the render time or can you work on this in next releases?
The text was updated successfully, but these errors were encountered: