Page 1 of 1
[ANGULAR] Performance Issue with 40k Tasks in Gantt – App Freezes When Expanding Tasks or Adding Columns
Posted: Mon Sep 08, 2025 3:53 pm
by gokulnaths
Hi Bryntum Team,
I am currently working on a project using Bryntum Gantt and have a dataset with 40,000 tasks.
I noticed that when I expand the first task, the application gets stuck for several seconds. Similarly, when I add a new column, the app freezes temporarily, and I also see some white images appearing in the Gantt during this freeze I have attached the image for your reference.
I have attached a CodePen with the example: https://codepen.io/Catherine-R-the-solid/full/pvjYKOm
I am currently using buffered rendering but the performance issues still occur with this large dataset.
My questions:
Is there a recommended way to handle tens of thousands of tasks in Bryntum Gantt without freezing the UI?
Are there specific settings or techniques to improve expand/collapse performance and column updates?
Any guidance, best practices, or configuration tips to improve performance would be greatly appreciated.
Thank you!
Re: [ANGULAR] Performance Issue with 40k Tasks in Gantt – App Freezes When Expanding Tasks or Adding Columns
Posted: Mon Sep 08, 2025 5:08 pm
by alex.l
Hi,
Could you please provide steps to reproduce the issue? I do not see any freezes using test case you shared. Please see video attached.
Re: [ANGULAR] Performance Issue with 40k Tasks in Gantt – App Freezes When Expanding Tasks or Adding Columns
Posted: Tue Sep 09, 2025 8:28 am
by gokulnaths
Hi,
Thanks for checking. I’ve recorded a video on my side where the issue occurs - when I expand the first task or add a new column, the grid freezes for a few seconds before becoming responsive again.
I’ve attached the video here for your reference. Could you please check and let me know how this can be resolved?
Re: [ANGULAR] Performance Issue with 40k Tasks in Gantt – App Freezes When Expanding Tasks or Adding Columns
Posted: Tue Sep 09, 2025 11:34 am
by alex.l
Hi,
What machine do you use? I see some lags, but 40k tasks - it's a lot, and it might cause some lags depends on machine. We also did some improvements for data loading - in v.7.0 it will work faster than now.
Re to your request about configs for performance improvements, I suggest to review our bigdataset demo https://bryntum.com/products/gantt/examples/bigdataset/ and settings we used in there.
Re: [ANGULAR] Performance Issue with 40k Tasks in Gantt – App Freezes When Expanding Tasks or Adding Columns
Posted: Tue Sep 09, 2025 2:23 pm
by gokulnaths
Thanks for your response. I’m currently working on a machine with the following specs:
Processor: 13th Gen Intel(R) Core i7
RAM: 32 GB
System type: 64-bit OS, x64-based processor
Given these specs, I would expect it to handle 40k tasks fairly smoothly, but I’m still noticing lags when expanding tasks or adding new columns. I reviewed the big dataset demo, and I noticed that even with 20k tasks, the app freezes when I add a new column or scroll.
To help illustrate the issue, I’ve attached a CodePen example https://codepen.io/Catherine-R-the-solid/full/pvjByrQ along with a video recording that shows the freeze happening. Could you please take a look and let me know if there are additional configurations or optimizations I can apply?
Re: [ANGULAR] Performance Issue with 40k Tasks in Gantt – App Freezes When Expanding Tasks or Adding Columns
Posted: Tue Sep 09, 2025 5:19 pm
by alex.l
Thank you for sharing more information and your patience!
Could you please take a look and let me know if there are additional configurations or optimizations I can apply?
I am afraid, bigdataset demo already use all configs that might help in performance. The thing is that we tested it on our side in 3 machines and we do not have these freezes, it takes less than a second to re-draw when you scroll fast.
Anyway, I will talk to our architect if we could do something with it, 40k tasks this is quite impressive amount of tasks.
I will keep you updated!