Improve performance JSReport!

  • Hi, i wonder how to make JSReport generate pdf faster. I already added numberOfWorkers in config.json file but it seem not any difference(run with PM2).

    Thank you

  • Hi, it depends. You can run the report with debug button in the toolbar and see what is the bottleneck.
    In some cases, it is a custom script that you could be able to optimize.
    But in some cases, the bottleneck is the "chrome-pdf" printing which is hard to optimize and there is no configuration in jsreport that could help. The only approach is to try to remove some CSS styles and step by step find out what is slowing down the most.

    You can share your debug output here and we can see what you can do.

Log in to reply

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