Hello Andrey,
The slowness issue still persists with the new jar.
Two sets of tests
result-vs-empty.pdf (280.8 KB)
vs empty 2.pptx.zip (501.5 KB)
aspose bi test.pptx.zip (158.9 KB)
result.pdf (173.1 KB)
- code example that reproduces the problem
License license = new License();
File file = new File(path);
FileInputStream inputStream = new FileInputStream(file);
license.setLicense(inputStream);
InputStream basePPTStream = sourcePPTfile.getInputStream();
Presentation ppt = new Presentation(basePPTStream);
contentType = "application/pdf";
fileName = "result.pdf";
response.setContentType(contentType);
response.setHeader("Content-Disposition", "attachment; filename=\"" + fileName + "\"");
ppt.save(resultStream, SaveFormat.Pdf);
byte[] byteArray = resultStream.toByteArray();
response.setContentLength(byteArray.length);
response.getOutputStream().write(byteArray);
- OS version on which the code was executed
jboss-eap-7/eap73-openjdk8-openshift-rhel7 image, version 7.3.10
1.8
Timed test results
aspose bi test ppt output : result.pdf
1 min 17.16s with 22.12 aspose library
16s with 21.2 aspose library
VS empty 2.pptx output : result-vs-empty.pdf
58.28s with 22.12 aspose library
15.22s with 21.2 aspose library