Performance issue with big data


#1

Zooming a big data chart gets a big performance issue.
E.g. add a zoom button to your sample view https://dhtmlx.com/docs/products/dhtmlxGantt/08_big_dataset.html

In my case, I’ve hundreds of tasks, when zooming, the browser is frozen and get “page unresponsive” error.

Any idea to fix it?


#2

Hello Yong,
That sample has an old Gantt version (4.0.0), you can check the following example with the latest version:
https://docs.dhtmlx.com/gantt/samples/08_api/10_performance_tweaks.html
I couldn’t reproduce the issue in the latest version (even with 10000 tasks):
http://snippet.dhtmlx.com/80c57f2b9


#3

Thanks, enabling smart rendering is key for a large data .
And with show_task_cells = true, it will slow down performance by around 5 times.