Page 1 of 1

StiReport.Render is slow, takes 4 seconds

Posted: Thu Jul 28, 2016 6:46 am
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?

Re: StiReport.Render is slow, takes 4 seconds

Posted: Thu Jul 28, 2016 7:06 am
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.

Re: StiReport.Render is slow, takes 4 seconds

Posted: Thu Jul 28, 2016 7:19 am
by vani.kulkarni
We will provide report template mrt file for further analysis

Re: StiReport.Render is slow, takes 4 seconds

Posted: Thu Jul 28, 2016 7:26 am
by Alex K.
Hello,

Ok.

Re: StiReport.Render is slow, takes 4 seconds

Posted: Thu Jul 28, 2016 8:59 am
by vani.kulkarni
PFA the mrt and mdc files

Re: StiReport.Render is slow, takes 4 seconds

Posted: Thu Jul 28, 2016 12:55 pm
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.