Jump to content
We've recently updated our Privacy Statement, available here ×

What is the difference between JRPdfExporter in jasper report v.3.5.3 and v6.3.1 library


thuongkaka01

Recommended Posts

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]

 

 



 

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...