exportDocumentAsync takes a long time to execute

Stimulsoft Reports.JS discussion
Post Reply
adbaisan
Posts: 6
Joined: Mon Jun 15, 2020 8:19 am

exportDocumentAsync takes a long time to execute

Post by adbaisan » Thu Jun 25, 2020 3:23 pm

Hello,
I have a report built from several templates with different data sources. For a test with 18MB of data it take 11 minutes, 1 minute to gather and format data and after that render each template, and 10 minutes in exportDocumentAsync. Is there a way we can optimize our templates or execute other functions to optimize this function?
It works ok for smaller data sources, but with bigger data sources we had a hanging time of 18 minutes, and that is hard to accept. I there any advice you can offer?
Lech Kulikowski
Posts: 2910
Joined: Tue Mar 20, 2018 5:34 am

Re: exportDocumentAsync takes a long time to execute

Post by Lech Kulikowski » Fri Jun 26, 2020 9:03 am

Hello,

Please send us a sample report with test data that reproduces the issue for analysis.

Thank you.
adbaisan
Posts: 6
Joined: Mon Jun 15, 2020 8:19 am

Re: exportDocumentAsync takes a long time to execute

Post by adbaisan » Tue Jun 30, 2020 10:03 am

If you merge four templates like this with the same datasource I have attached "exportDocumentAsync" will take one and a half minutes, we have about 30 in a report, and it takes 10 minutes to export one, we have even bigger data and it takes sometimes more than 20 minutes. Please give us any information on how we can speed up the process.
Attachments
temp7578327526162067610.json
(911.5 KiB) Downloaded 13 times
stages.mrt
(81.04 KiB) Downloaded 13 times
HighAley
Posts: 8299
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: exportDocumentAsync takes a long time to execute

Post by HighAley » Tue Jun 30, 2020 1:09 pm

Hello,

Sorry, we can't reproduce the issue.
Could you send us a sample with code that you use and time that this code takes for the rendering and export.

Thank you.
Post Reply