Hello,
we are trying to create MsProject document with ~7000 tasks and looking for best solution from performance point of view.
We tried the following ways:
Case 1:
- CalculationModel.None
- Add 7000 tasks (pretty fast) but there was not UID, Duration, Start, Finish, Predecessors values, so RecalculateProject do nothing.
Case 2:
- CalculationMode.Manual
- Add 7000 tasks (pretty fast) and values UID, Duration, Start, Finish, Predecessors were set up.
- Add task links: foreach with project.TaskLinks.Add(predecessorTask, successorTask, predecessorType) - works extremelly slow.
Finally we were able to get document in a 3 hours.
Can you advice the best solution for huge documents?
Hi Vladimir,
Thank you for writing to Aspose support team.
CalculationMode.None is best of all with respect to performance. We found some bugs with this mode in the current build of the API. In our upcoming release, these issues are resolved and you may use that mode for best performance.
For CalculationMode.Manaul, we are having some issues and these are logged under Id: TASKSNET-1796. It will take quite some time to resolve these issues as the fixing will start by mid this year. You will be notified once any update is received in this regard.
Kashif,
does Java version of the aspose.tasks more stable, faster and contains less issues?
Hi,
Aspose.Tasks for Java is ported from Aspose.Tasks for .NET and lot of effort is put to make both products stable, faster and error free. You may please use it and if any query is there, feel free to write us back.
The issues you have found earlier (filed as TASKSNET-1796) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.