Free Support Forum - aspose.com

Subject: loading PDF documents for conversion in Aspose.Pdf very slow compared to MS Office documents

Hi,

With Aspose.Pdf we’ve noticed that loading PDF documents for conversion ( var document = new Aspose.Pdf.Document(stream)) takes considerably longer compared to loading MS Office documents in Aspose.Words. For example, loading a large MS Word document (3000+ pages, text only/no images) is up to 6x faster compared to loading the same document converted to PDF. We’ve tested this with Aspose.Words and Aspose.Pdf version 20.x and 21.x.; the machine is not limited in terms of available memory/CPU-power and de input files are loaded from a local NVMe SSD.

Is there any way we can speed up loading PDF documents or is PDF inherently slower to process compared to MS Office documents?

Kinds regards!

@T_Limburg

Could you please share the sample document for our reference so that we can test the scenario in our environment and share our feedback with you accordingly.

Hi,

Here is a WeTransfer link to a sample document: https://we.tl/t-xCciljEBAz

With kind regards,

Thomas Limburg

@T_Limburg

We tested the scenario in our environment and noticed that the API took ~1 second while loading the sample PDF. We tested the case using Aspose.PDF for .NET 21.4. Could you please share how much time it is taking at your side and what is your expected time consumption?