Word to PDF performance issue (slow creation)


#1

To whom it may concern,

I am currently running a performance test of a process that will entail generating a pdf at the end of the process. The results i have been seeing are pdf creation times of around 35 seconds when I call the PDF.Save method.

I have tried:

pdf.IsTruetypeFontMapCached = true;

pdf.TruetypeFontMapPath = Path.GetTempPath();

Is there anything else I should be aware of to increase pdf generation performance.

Thank you

Eric


#2

Hi,

Thank you for considering Aspose.

Can you please send your sample Word document that is taking so much time and let us investigate this issue.

Thanks.


#3

After waiting for about 30 mins, I redid my performance test and I am seeing greatly improved results.

For 1 pdf 1.375s

running in a loop to generate 10 pdfs

first pdf ~1.2 secs

2-10 pdfs ~ .18s per pdf

Looks like an anomaly. I will rerun the test again later in the day to see if i get similar results.


#4

Hi,

Actually these two statements work better when you want to convert documents in bulk.

Thanks.