We have for a number of years been stuck on Aspose.Words 17.7 do to performance issues on newer versions. Due to legistration issues we are now forced to move on within the next year. We have made several trials over the last few years (a previous colleage posted this in 2020) and I have my self performed an extensive analysis last year. Generally we see a merge times increasing by around 40% for the newer versions of Aspose.
Our tests have been done by making minimal changes to our code base in order to facilitate the Aspose.words version bump and on the exact same data. However, we are interested in knowing what we can do to increase merge performance. As can be seen from the 2020 post by me colleage, we are forced to work with long templates with a lot of repeated sections. This is, however, not within our control so it is not a parameter we can work with. Instead we would like to know if there are any optimization parameters we can use or if we can disable some functionality we are not using in order to step up performance.
Currently we perform the merge as follows
execute(String, String) with MailMergeCleanupOptions NONE
executeRegionsmerge(ImailMergeDataSourceRoot) with MailMergeCleanupOptions NONE and MergeDuplicateRegions = true
After this we look for any unmerged fields / regions and merge these with a dummy values (this is done as part of mail validation where unresolved values are highlighted and require manual treatment). This is done with all REMOVE_* MailMergeCleanupOptions activated
Hope you can help us