а

Preformance Issue: how to debug?


#1

Hi!

I have a gantt instance working on a React app, but I’m having a serious issue when I filter some tasks. I measured the functions to create the array of visible tasks, but the issue is on rendering of the Gantt.

This screenshot shows how much time takes to re-render everything. https://puu.sh/DwdtC/bc0a6a8f33.png

I attached the performance profile that I took from Chrome.

Profile-20190523T130158.7z (423.0 KB)

So, is there any way to debug performance on Gantt? By that way I would know if it’s something that I did.

Thanks!


#2

Hi @aibarr!

Performance depends on the configuration and extensions you use and on the structure of your dataset.
Can you please share some kind of example so we could profile it locally?

This is the article about the ways to increase the performance:
https://docs.dhtmlx.com/gantt/desktop__performance.html