Hello,
I have noticed a decrease in performance when loading documents with Aspose.Words for Java. Only when loading documents containing CustomXml and ContentControls (StructuredDocumentTag) with corresponding data binding. If removing the data binding from the ContentControls, the loading is very fast. It seems that the behavior when loading documents has changed. Probably the data binding is now processed directly during loading the document.
Up to version 19.5, loading documents with CustomXml and data binding is very fast. Starting with version 19.6, loading became significantly slower. With a version earlier this year, loading has become a bit faster again.
Tested with the following document and the following code:
test.docx (173.5 KB)
Document doc = new Document("\test.docx");
The document contains about 1200 ContentControls and for each ContentControl a node in the CustomXml which is defined in the data binding
Version 19.5: 702ms
performance_19.5.png (6.9 KB)
Version 19.6: 6.602ms
performance_19.6.png (7.1 KB)
Version 21.5: 4.588ms
performance_21.5.png (7.1 KB)
Is there a way to disable the processing of the data binding when loading documents?
Best regards
Ingo