I have noticed that updating fields is very slow.
Using updateFields() at an empty document only containing one page field takes nearly 700ms, testet with Aspose.Words 18.7. With Aspose.Words 17.12 it was still about 500ms - also feels very slowly.
Document doc = new Document("...\\test.docx"); long startTime = System.currentTimeMillis(); doc.updateFields(); long resultTime = System.currentTimeMillis() - startTime;
test.zip (13.1 KB)
This is a very simple example. I have other cases where updating 14 fields in 7 pages takes over 3 seconds.
Why is updateFields() so slow? Is there anything I can do? Modify the document or use other methods to update fields?
Why has performance decreased so much in the last versions?