thuongkaka01 Posted June 20, 2017 Share Posted June 20, 2017 I have an old report template with the jasper report 3.5.3 library. I need to upgrade library from v3.5.3 to v6.3.1. My problems arise when I export the old template to pdf format. **+With v3.5.3 library:** [export_report_with_3_5_3_library][1] **+With v6.3.1 library:** [export_report_with_6_3_1_library][2] [1]: https://i.stack.imgur.com/ix8uc.png [2]: https://i.stack.imgur.com/xvpDE.png I have used the same template report. Why are the differences here? The time for exporting with 20K resource records: +With v3.5.3 library: 6207 milliseconds +With v6.3.1 library: 9991 milliseconds The code is used to export the report to pdf format. JasperExportManager.exportReportToPdfFile(filedReport, outputFileName);[/code] I don't know why the function exportReportToPdfFile in the 6.3.1 library run longer than in the 3.5.3 library. **+With v3.5.3 library:** about 335 milliseconds **+With v6.3.1 library:** greater than 4000 milliseconds. Could you please help me to improve the performance or suggest a method deal with it? I think the new library work many things than the old library as described above (the pictures). Link to comment Share on other sites More sharing options...
thuongkaka01 Posted June 20, 2017 Author Share Posted June 20, 2017 Please help me ! please![/code] Link to comment Share on other sites More sharing options...
marianol Posted June 23, 2017 Share Posted June 23, 2017 Check which report virtualizer is being used in each library that may have changed over releases. A jump from 3.5 to 6.3 a lot of years have gone by :)http://community.jaspersoft.com/wiki/virtualizers-jasperreports Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now