xpyjs/gantt

[BUG] UI freezes with large dataset

Closed this issue · 7 comments

  • with the following large dataset the UI freezes (renders after a very long time):
  • and seems the problem is with preprocessing

ganttData (1).json

1719399996022

1719400037861

no one can render 10w+ rows in a flash

@jeremyjone

i believe there is definitely room to improve

my own virtual table component renders the same dataset in a flash

i believe you also use virtual rendering under the hood right?

If you can, I look forward to you can submit a pr to help it do better😊

@jeremyjone

but may i know if you are using virtual rendering already or not 😂

I do not have this requirement, max the number of 10,000 rows I used. More optimization, I do not need, there is no need to update. You can pr and improve this component. hhhhhhh😁

I used vir render, but its code by myself

@jeremyjone

turns out I made a mistake in my initial problem statement, there are only ~ 12,000 tasks in this data, it is not a big dataset.

and i found that the main issue is with 11,330 links, (it renders immediately if I remove the links), are you also virtual rendering the links?

我发现主要问题是 11,330 个 links 的渲染, 去掉links 后渲染很顺畅, links 也有使用 虚拟渲染吗

can you please reopen the issue?