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).