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
Rendering charts in Internet Explorer 11 (and earlier) is very slow #85
Comments
I'm having render performance issues on Chrome using amCharts4 with Vue. |
We have just released beta.31. Can you guys check if IE11 performance has increased for you after upgrading? We have implemented some changes that might affect performance. We're also going to continue looking for ways to improve overall performance, as we don't think we're there, yet. |
It still freezing both when rendering, but IE11 more than Chrome. Example: css effects like hover doesn't work until the chart is completely rendered. beta.30 average script timeam4core.create: ~79.3181966146 First runFirst chartam4core.create: 125.337158203125ms Second chartam4core.create: 60.460205078125ms Second runFirst chartam4core.create: 89.801025390625ms Second chartam4core.create: 45.175048828125ms Third runFirst chartam4core.create: 110.759033203125ms Second chartam4core.create: 44.376708984375ms beta.31 average script timeam4core.create: ~84.3655192057 First runFirst chartam4core.create: 119.946044921875ms Second chartam4core.create: 53.737060546875ms Second runFirst chartam4core.create: 109.91015625ms Second chartam4core.create: 49.31884765625ms Third runFirst chartam4core.create: 123.68603515625ms Second chartam4core.create: 49.594970703125ms Results are ~30% better on production mode. I'm not using animation but it's script seems to be running when develop mode. This prodution mode improvement can be related to that. Even in production mode, visually tested on IE11, it took ~3.5 seconds to fully display the chart. From this time, ~2.7 seconds is between the moment the amCharts logo appears until the chart columns is completely displayed (without animation). Without loading the two charts in the page, it loads almost instantly (user interaction can be done immediately after display the components). You can use |
Gotcha. Thanks for the details. This will help us tackling this performance issue. |
I've done some testing in IE11, but unfortunately there's no perceptual improvement in performance. |
@dswitzer Gotcha. We're going to be concentrating on this over coming couple of weeks. Will keep you guys posted. |
OK, so we just released 4.0.0-beta.32 which has a bunch of performance improvements. Let me know if you guys notice any improvement. |
Thanks @peluprvi Not sure what to make of this tho :) |
@martynasma can't you reproduce it with https://github.com/peluprvi/vue-amcharts4-teste ? I don't know how can I better help you. IE developer tools doesn't help much too, but: By the list above, it looks like the And he bellow shows another slower function that I found in the list: And the last one I found with about 20ms itself was: I hope that give the team some direction. |
Thanks! My intention was to ask whether you notice any perceptible speed up in IE. Of course we will be continuing working on the performance improvements. |
No perceivable speed increase that I'm noticing. I'm still seeing rendering charts of charts taking 1-3 seconds, which really bogs things done when you have 8 charts on the page. These charts aren't very data heavy either—usually less than a dozen data items. |
Thanks for checking @dswitzer We're currently working on overall performance of the charts. But we will also starting to work on two other aspects: specifically startup performance and chart queuing. Once implemented (in the coming weeks), those should give prominent increase in initial chart speed, especially on chart-heavy dashboards. |
Folks. We've just released beta.34. This time performance increase should be noticeable. It's not the end, though. We have ideas on how to improve performance, and will continue working in that direction. |
I've been testing the new build all morning. It's definitely faster in IE11, but it still feels very sluggish. Renders the 8 charts we have dropped the average total render time from about 13-15 seconds, to like 10-12 seconds. So it shaved off a few hundred milliseconds, but it's still taking on average about 1.4 seconds to render each chart. |
Gotcha. Thanks for testing. |
Hi, I'm using Version 4.0.0-beta.57 with Safari and Chrome. Are you still working on rendering performance ? Thanks. |
@fredmef Yes, we are. We're about to push out an update that radically changes how chart engine uses its heartbeat updates. It might improve situation. |
Good news !!! |
Just published a few minutes ago. Let us know if you see any improving in performance. |
I'm using 4.0.0-beta.59 and timings for 5 charts on the same page (about 600 points on each charts) are:
So, I still have big performance problems... |
Thanks for checking. Obviously, multi-chart usage is lacking. We're working on it. |
Version 64 beta splits long processes into chunks so now even with multiple charts on the same page browser won't freeze. We also improved overall performance in this version. |
@fredmef Can you share your chart setup? I can't possibly image how 5 charts with 600 data points can take 40 seconds to build. |
@martynasma Of course, here is my setup:
`
}; If you need more info, don't hesitate. |
@martynasma Do you see something wrong in my setup ? |
@fredmef We'll need a working code that we can run and test. Afraid, we don't do Drupal :) |
I've tested it on Chrome after upgrade amCharts to 4.0.6 and its load time is much faster and looks great to production. |
In v 4.0.9 we fixed one issue which caused all round charts like pie, radar and chord to render slowly on IE. |
V 4.0.17 introduces some dramatic performance improvements for charts with a lot of data. |
I have noticed that when you add the data to the chart (BIG data ) it's slower as to add them per series. |
This is an old thread. We've come a long way since then in terms of performance enhancement, so I feel it's no longer relevant. Closing. |
We're seeing a lot of performance issues with pages that have more than one or two charts on a page using Internet Explorer 11.
Even on extremely fast computers, it generally takes over a second to render a chart in IE11. While the chart is rendering, the browser completely freezes.
When you end up having many charts on the page, this impact really adds up.
For example, we have a Dashboard prototype we're working on that has 8 charts on the page. It can take anywhere between 10 - 40 seconds to render these charts (depending on the speed of the PC). While this is happening, the Dashboard is basically unusable.
The chart rendering is definitely not as fast as we'd like to see across browsers, but in IE it's just painfully slow.
Version: amCharts 4 beta 29
The text was updated successfully, but these errors were encountered: