ConvertToPDF is too slow

Hello,

I am using the DocIORenderer (version 16.1.0.32) and converting a document (.docx) created with DocIO takes way too long.

DocIORenderer render = new DocIORenderer();
PdfDocument pdfDocument = render.ConvertToPDF(stream);

There are no settings/parameters I can change and converting a simple document (no images, just text) with e.g. 7 pages can take up to 30 seconds.

Is there any way to speed it up?

Kind regards,
Matthias

8 Replies

MJ Mohanaselvam Jothi Syncfusion Team April 26, 2018 02:05 AM UTC

Hi Matthias,

Thank you for contacting Syncfusion support.

We can reproduce the mentioned problem when converting Word document to PDF using DocIORenderer API. We will improve the performance and the
fix for the issue will be included in our upcoming release 2018 Volume 2, which is expected to be rolled out in end of May, 2018 tentatively.


Please let us know if you have any other questions.

Regards,
Mohanaselvam J
 



DB Dilli Babu Nandha Gopal Syncfusion Team January 9, 2019 05:57 PM UTC

Hi Matthias, 

We are glad to announce that our Essential Studio Volume 4, 2018 release (v16.4.0.42) is rolled out and is available for download under the following link. 

  
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 

Regards, 
Dilli babu. 



GF Greg Frazer June 18, 2019 01:47 AM UTC

Dilli babu
I am using version 17.1.0.51 of Syncfusion.DocIORenderer.Net.Core, and it is still very slow (15 sec on a 8-way machine) fro my single 15 page document.


VA Vijayasurya Anandhan Syncfusion Team June 18, 2019 03:28 PM UTC

Hi Matthias,

Thank you for your patience.

We have checked the reported issue with” Time consumes almost 15 seconds to convert the Word document with 15 pages to PDF”. We have tried this same scenario in our end by trying to convert the word document with 15 pages to PDF, but it takes about only less than 8 seconds for a PDF conversion.

For more reference, please find the below sample which we have tried in our end to reproduce the issue.
http://www.syncfusion.com/downloads/support/forum/137217/ze/TimeSample1756104251.zip
 
We suspect that the reported issue might be specific to the input Word document. 
So, could you please provide us the input Word document along with the complete code snippets which used at your end to reproduce the exact problem. Thereby we will analyze further and provide you the appropriate solution at the earliest. 
Note: If you have any confidential data in your Word document, please replace with some dummy data and provide us the same. We just need your document to recreate the problem you face 
 
Regards, 
Vijayasurya A




GF Greg Frazer June 20, 2019 05:38 AM UTC

8 secs is still a long time


VA Vijayasurya Anandhan Syncfusion Team June 20, 2019 08:34 AM UTC

Hi Matthias,

Thank you for your update.

As mentioned earlier, we suspect that the time consumption is depends on the content in the input Word document.

So, could you please provide us the input Word document along with the complete code snippets which used at your end to reproduce the exact problem. Thereby we will analyze further and provide you the appropriate solution at the earliest. 
  
Note: If you have any confidential data in your Word document, please replace with some dummy data and provide us the same. We just need your document to recreate the problem you face 

Regards,
Vijayasurya A




RC Richard Corbishley November 11, 2020 11:20 AM UTC

Hi Vijayasurya

We're having this same issue, albeit with a much longer (36 pages) document. It takes sometimes up to 20 seconds to convert the document to PDF.
This is being run on a 64 bit machine, and interestingly JetBrains Dynamic Program Analysis  is reporting that the call to render.ConvertToPDF(wordDocument) is taking up to 29GB of RAM. See below:
This is also being run on a relatively high-end machine, so I doubt performance of the PC is the root issue. I haven't yet set up a VM to test how bad it could be on a lower spec system, but I reckon it would be pretty bad.

Does DocIO use GPU acceleration to do the conversion? Or is there an option that would allow me to do that?

Please let me know where I can send the files I use to convert. I'm going to strip them of confidential info but they still give a very good idea of what they're used for - I don't know if hosting them here publicly is the best of ideas.


HC Hemalatha Chiranjeevulu Syncfusion Team November 12, 2020 04:50 PM UTC

Hi Matthias,

Thank for your update.

A support incident to track the status of your query under your account has been created.
Please log on to our support website to check for further updates
https://www.syncfusion.com/account/login

Please let us know if you have any other questions.

Regards,
Hemalatha C
 


Loader.
Up arrow icon