Support Article
PDF generation noticeably slower in 7.1.4
SA-3295
Summary
User is experiencing slowness in overall PDF generation of a report. User has a weekly process of generating a pdf files (Situation Management report) and distributes to a large audience. They have observed that this process used to take roughly 20 seconds in their 6.3 environment and now, in 7.1.4, it's been taking on average between 2-4 minutes.
Error Messages
NA
Steps to Reproduce
This is just an isolated test, not the real production scenario, to simplify reproducing the issue.
1. Ran custom report in 6.3 (220 records)
2. Export results to PDF
3. Recorded time via tracer view (11 seconds)
4. Ran custom report in 7.1.4 (222 records)
5. Exported results to PDF
6. Records time via tracer view (50 seconds)
Perform these same steps with any report present in both 6.3 and 7.1.4
Root Cause
The root cause of this problem is in a third-party product 'pd4ml.jar' library file integrated with PRPC.
Resolution
PRPC uses 'pd4ml.jar' which is a third party library. Older versions of this library were being used for 'Export to PDF' action and hence there is no code optimization for PDF generation in PRPC 7.1.4. Having said that, the reported behaviour has been addressed in PRPC 7.1.6 with code optimization and a 50 % reduction in PDF generation time than former PRPC 7.x versions.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.