We are trying to migrate to a new Aspose Slides version (6.9.1) from version 2.9.6. However, there are a few serious problems with the new version. One is an already reported issue: https://forum.aspose.com/t/75464https://forum.aspose.com/t/75464
which we would really appreciate if you can focus on soon.
The other very serious issue is that reading a PPTX file from a stream and writing it back to a stream takes much longer in aspose.slides-6.9.1 version, than under aspose.slides-2.9.6 which we currently use.
To document the issue, please see an attached example pptx file (larger or more complex the file, better pronounced is the issue). Also, please see the simple code snippet that I used (I am not doing any additional operations with the file - just reading it and writing it back):
System.out.println("Start: " + new Date() );
FileInputStream fileInput = new FileInputStream( “c:/Fractions.pptx”);
PresentationEx pres = new PresentationEx( fileInput );
System.out.println("Reading End: " + new Date());
FileOutputStream fileOutput = new FileOutputStream( “c:/output.pptx”);
pres.save( fileOutput, SaveFormat.PPTX );
System.out.println("writing End: " + new Date());
To execute this under aspose.slides-2.9.6 takes about 5 seconds; it takes at least 20 seconds under aspose.slides-6.9.1. With larger files, the difference is even bigger.
Please let us know if this can be fixed and when can we expect this to be fixed. We are not able to use the new Aspose Slides version with this performance.
I can see some improvement in the performance, but that’s not enough for our needs. With the file that was attached with the original post, reading the file still takes twice as long in 7.2.0 version than 2.9.6 version. And as I mentioned before, the difference is more dramatic with more complex files. Unfortunately, it’s the more complex files that we use in our application. We really need the new Aspose Slides version to match the performance of Aspose Slides 2.9.6 in order to be able to use it.
Also, the first problem still persists and I see that it has not been addressed yet: after a presentation as saved to a stream, a warning pops up when a document is being opened. See the attachment to see the warning. We can’t use your product with this error either.
Please let me know if you plan to address these 2 issues in near future.
To replicate both issues, you may use the code
snippet and the pptx document example that was posted with and attached to
the the top message of this thread. Please let me know if you need me to
sent the attachment again to you.
The issues you have found earlier (filed as SLIDESJAVA-33679) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
I can see again some improvement in the performance, but that’s definitely not enough for our needs. Comparing speed of reading a file and writing a file in 2.9.6 and 7.8.0 versions, the performance for 7.8.0 version still significantly lags behind the version 2.9.6. As we use quite large files, this issues only gets more pronounced. Waiting about 30 seconds for a file to be read and written is too much, especially when I get to read/write the same file in less than 1/2 of a time under 2.9.6.
I hope you will reopen this issue, as with the status as it is now, we are not able to use the new Aspose.Slides version.
Below are the results reading and writing the file; no other processing is involved:
File Read/Write test, OLD Aspose.Slides 2.9.6;
Start: Thu Oct 17 10:52:58 CDT 2013
Reading End: Thu Oct 17 10:53:05 CDT 2013
writing End: Thu Oct 17 10:53:11 CDT 2013
File Read/Write test, NEW Aspose.Slides 7.8.0;
Start: Thu Oct 17 10:54:53 CDT 2013
Reading End: Thu Oct 17 10:55:10 CDT 2013
writing End: Thu Oct 17 10:55:21 CDT 2013
This issue is becoming a top priority for us. Any update on when can we expect any improvement in this matter?
I am attaching a new example file (in size and form more accurate example of what we are dealing with with our clients) - reading and writing this file takes extremely long.
Please let me know if you can replicate the bad read/write performance with this file and if there is any chance we can get any improvement in this matter soon.
I appreciate your quick response.
Here is the information you asked for:
- I am doing these tests on my local machine, but we get similar results on servers running the client applications
- Machine: HP Pavilion dv6-6110us
- OS: Windows7 Professional, SP1
Below are the results reading and writing the file (code snippet has been included in a post above); no other processing is involved. I have not noticed any improvement in this area in 8.3.0 release comparing to releases before.
File used: Fractions.pptx
File Read/Write test, NEW Aspose.Slides 8.3.0;
Start: Thu Mar 20 08:42:53 CDT 2014
Reading End: Thu Mar 20 08:43:03 CDT 2014
writing End: Thu Mar 20 08:43:18 CDT 2014
File used: LargeFileSample.pptx
File Read/Write test, NEW Aspose.Slides 8.3.0;
Start: Thu Mar 20 08:46:02 CDT 2014
Reading End: Thu Mar 20 08:46:42 CDT 2014
writing End: Thu Mar 20 08:47:06 CDT 2014
Total: 1 min 4 sec
Please let me know if you need any other information.
Many Thanks for your quick turnaround. I have annexed the details shared by you in concerned ticket. Our development team is investigating the issue on their end. I will share the feedback with you in this regard as soon as it will be shared by our development team.
|version||Reading (ms)||Writing (ms)|
|version||Reading (sec)||Writing (sec)|