PDF Utils - Merge Document takes Time to render the pdf



  • Hi,

    I have a template with pdf utils configuration. In that i have configured two template to "Merge whole document" for header and footer purpose. Time taken to generate the pdf was around 30 to 40 seconds.

    0_1607497287107_upload-8cde65a6-9326-46f1-ad4e-bea5485d0ddf

    Following is the report log

    2020-12-03T13:00:24.570Z - info: Starting rendering request 3 (user: kanadmin)
    2020-12-03T13:00:24.571Z - info: Rendering template { name: main, recipe: chrome-pdf, engine: handlebars, preview: false }
    2020-12-03T13:00:28.194Z - info: Starting rendering request 4 (user: kanadmin)
    2020-12-03T13:00:28.194Z - info: Rendering template { name: noteinfo, recipe: html, engine: handlebars, preview: false }
    2020-12-03T13:00:28.991Z - info: Rendering request 4 finished in 797 ms
    2020-12-03T13:00:38.390Z - info: pdf-utils is starting pdf processing
    2020-12-03T13:00:40.994Z - info: Starting rendering request 5 (user: kanadmin)
    2020-12-03T13:00:40.995Z - info: Rendering template { name: header-footer, recipe: chrome-pdf, engine: handlebars, preview: false }
    2020-12-03T13:00:41.099Z - info: Starting rendering request 6 (user: kanadmin)
    2020-12-03T13:00:41.190Z - info: Rendering template { name: clientSignature, recipe: html, engine: handlebars, preview: false }
    2020-12-03T13:00:41.998Z - info: Rendering request 6 finished in 900 ms
    2020-12-03T13:00:50.593Z - info: Rendering request 5 finished in 9599 ms
    2020-12-03T13:00:51.393Z - info: Starting rendering request 7 (user: kanadmin)
    2020-12-03T13:00:51.394Z - info: Rendering template { name: encounterinfo, recipe: chrome-pdf, engine: handlebars, preview: false }
    2020-12-03T13:01:00.197Z - info: Rendering request 7 finished in 8803 ms
    2020-12-03T13:01:01.397Z - info: pdf-utils pdf processing was finished
    2020-12-03T13:01:01.398Z - info: Rendering request 3 finished in 36828 ms

    When we remove the templates added in PDF utils configuration, that time pdf was generated with in 7 to 8 seconds.

    Can you please help me in this.

    Thanks,

    Surya prakash R



  • Hi, Is it possible for you to share with us export of your workspace with data you use so we can debug it and find the bottleneck?
    You can email it to me to keep it confidential.



  • Hi,

    Can you please share the emailid so that i will share in email.





  • Hi,

    I have sent you the workspace in mail. Can you please check and help me.

    Thanks,

    Surya prakash R


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.