Thanks for your inquiry. Unfortunately, it is difficult to say what the problem is without the Word documents. I need these documents to reproduce the problem first on my side.
It is safe to attach files in the forum. If you attach your document here, only you and Aspose staff members can download it. Also you can send the file to my e-mail as described here:
While using the latest version of Aspose.Words for Java i.e. 11.0.0, I was unable to reproduce this performance issue on my side. For me, the average DOC to PDF conversion time for three test runs was 6.82 seconds. Moreover, I would suggest you please visit the following link for downloading and using the latest version of Aspose.Words:
Thanks for the additional information. I think, this issue is OS specific. On 64-bit Windows 7, I am observing an average of 6.82 seconds. Moreover, please note that the average speed of converting to PDF using Aspose.Words is 10 pages per second. Since your document has 62 pages, so theoretically this conversion should take 6.2 seconds.
Regarding long saving time, it is expected that saving to PDF, XPS or any other fixed page format, takes more time than saving to flow format (DOC, DOCX etc). This is because MS Word document is flow document, i.e. it does not contain any information about its layout into pages. So to convert it to PDF, Aspose.Words needs to layout it into pages. This is quite complex operation and that is why it takes more time.
Please let me know if I can be of any further assistance.
Thanks for your inquiry. I tested the first scenario and I am afraid, I was still unable to reproduce this performance issue on my side. I tested Aspose.Words for Java v11.0.0 on Windows XP with service pack 3 installed and results produced were almost identical. Moreover, I tested with both JDK 1.5 and 1.7. I have attached PDF file i.e. generated on my side here for your reference. Notice that file size is just around 460 kb.
To test the scenario mentioned in your second approach, could you please attach 3 documents you were merging into one here for testing. I will investigate the issue further and provide you more information…