Bad performance on Android


#1

Hi,
I am trying to convert office files to pdf format.
For cells and words this is working quite good but for presentation I am experiencing really bad performance.

For example I have a file with 425 kb and following code:
val output = ByteArrayOutputStream()
val presentation = Presentation(assets.open(“Test.pptx”))
presentation.save(output, SaveFormat.Pdf)

Loading the presentation takes around 2500 millis
Saving as pdf takes around 67500 millis

I often read about an initial warm up of the library which could take some time but this is really bad.

Is there anything I am missing?

I am using Aspose Total for Android via Java in version 19.9


#2

@Nicole_Weiss,

Can you please share source file along with sample code and environment details so that we may further investigate to help you out.


#3

Please see my sample project with provided testing files.

I am running the code on a Pixel 2 XL with Android 10.


#4

@Nicole_Weiss,

Thank you for sharing the information with us. An issue with ID SLIDESANDROID-216 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.