StiReport.Render is slow, takes 4 seconds

Stimulsoft Reports.Silverlight discussion
Locked
vani.kulkarni
Posts: 27
Joined: Thu Jun 02, 2016 7:22 am

StiReport.Render is slow, takes 4 seconds

Post by vani.kulkarni »

var report = new StiReport();
report.Load(templateMrt);
report.RegData(dataSet);
report.SynchronizeDataSetWithReport(dataSet, externalDataName);
report.Render(false);// this line is too slow takes 4 seconds , how to reduce this time?

return report.SaveDocumentToByteArray();


StiReport.Render is slow, this line is too slow takes 4 seconds , how to reduce this time?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: StiReport.Render is slow, takes 4 seconds

Post by Alex K. »

Hello,

It is difficult to say why Render is slow without report. Please see the following articles
https://www.stimulsoft.com/ru/blog/arti ... ng-reports
https://www.stimulsoft.com/ru/blog/arti ... rts-part-2
https://www.stimulsoft.com/ru/blog/arti ... rts-part-3

Thank you.
vani.kulkarni
Posts: 27
Joined: Thu Jun 02, 2016 7:22 am

Re: StiReport.Render is slow, takes 4 seconds

Post by vani.kulkarni »

We will provide report template mrt file for further analysis
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: StiReport.Render is slow, takes 4 seconds

Post by Alex K. »

Hello,

Ok.
vani.kulkarni
Posts: 27
Joined: Thu Jun 02, 2016 7:22 am

Re: StiReport.Render is slow, takes 4 seconds

Post by vani.kulkarni »

PFA the mrt and mdc files
Attachments
Report.mdc
(80.13 KiB) Downloaded 393 times
Report.mrt
(229.07 KiB) Downloaded 386 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: StiReport.Render is slow, takes 4 seconds

Post by Alex K. »

Hello,

It is normal for your report with such structure.
Also, please try to provide only necessary data sources for your report.

Thank you.
Locked