PPTX to PDF: Long time 3-10 minuets needed to export (Java)

Hi, I’m converting an pptx document with size 30M to pdf and it takes about 3 minutes to complete using aspose-slides-16.10.0 and about 5 minutes using aspose-slides-20.1-jdk16.jar.
I think the it is too long for me
Are there any settings I can modify to reduce the amount of processing time?
here is my example code:

PdfOptions opts=new PdfOptions();
opts.setJpegQuality((byte)90);
opts.setSaveMetafilesAsPng(true);
opts.setTextCompression(0);
Presentation ppt = new Presentation(“test.pptx”);
ppt.save(“test.pdf”, SaveFormat.Pdf, opts);

@wilsonsu,

I have observed the issue shared by you and request you to please share the source file reproducing the issue. Please also share the Java, Operating system details and any arguments you have passed in your code.

sorry, I missing pass opts into save method
ppt.save(“test.pdf”, SaveFormat.Pdf);

after I pass the opts into save method, the processing time reduce to 75 seconds,
ppt.save(“test.pdf”, SaveFormat.Pdf, opts);

My environment
Windows 10 Enterprise 1803
RAM 16G
java version 1.8.0_221

@wilsonsu,

I have observed the feedback. Do we still need to investigate the issue or you are now satisfied.

satisfied
much thanks

@wilsonsu,

Thank you for sharing feedback.