I have a performance problem when I include the links in the tasks.
I have the project with about three thousand tasks, and when I include the links, the process greatly increases the total execution time of the process.
In the
link = asposeProject.TaskLinks.Add (predecessor, successor, taskLink, lag);
that’s where the delay happens.
In a project with about 3,000 tasks the process ran for about 9 hours and did not end.
How can I improve this time by assigning the link?
Follow the code:
if (context.SyncConfig.SyncLigacoes && context.SyncConfig.SyncExportar)
{
Project asposeProject = context.AsposeData;
while (context.AsposeData.TaskLinks.Count > 0)
asposeProject.TaskLinks.Remove(context.AsposeData.TaskLinks.First());
It is requested to please provide sample project file so that we could investigate the issue in detail. You may share the file in private by sending in message. The message button shall appear by clicking on my user name.
Thank you for providing the project file.
Initially, we have tried to check the performance issue and the output project file is successfully generated in 10 to 15 minutes.
We are working on this and shall update you as soon as we have more information to share.
We have logged this issue under ID “TASKSNET-2789” for further investigation. You will automatically be informed here once we have more information to share.