Free Support Forum -

Save as PDF performance

I’m currently evaluating Aspose.Words for converting docx to pdf. Althought the output looks pretty great, I’m worried about the performance. Conversion of a single, pretty simple, document (attached) already takes about 125ms (memorystream to memorystream). When I do this in a loop (500 times), (so not yet parallel), CPU usage never exceeds about 15%.

Is it possible to make it faster? Does the API, for example, allow me to specify how many parallel threads it’s allowed to use?

Hi Robert,

Thanks for your inquiry. Aspose.Words is multithread safe as long as only one thread works on a document at a time. It is a typical scenario to have one thread working on one document. Different threads can safely work on different documents at the same time.

Regarding permanence query, I have tested the scenario and have not found any issue while using latest version of Aspose.Words for .NET 13.3.0. Please use the latest version of Aspose.Words for .NET and let us know how it goes on your side.