Performance rendering multiple subreports

Stimulsoft Reports.WEB discussion
Post Reply
lmponte
Posts: 4
Joined: Tue Aug 05, 2014 5:08 pm

Performance rendering multiple subreports

Post by lmponte »

Hello all,

I have an application which is generating a complex report which consists of several sub-reports that is taking a very long time to render (sometimes more than 3-4 minutes).
In this particular case, all subreports are exactly the same, but the time taken to render the final report seems to scale in a linear fashion with the number of subreports included.

I have profiled my application and found that the Stimulsoft engine appears to be compiling each individual sub-report, even though they are all the same.
Application profiling analysis.
Application profiling analysis.
Capture.PNG (86.05 KiB) Viewed 1218 times
Is there any possibility to optimize this? Is this something that can be optimized on the application side, or maybe a possible optimization on the Stimulsoft reporting engine?

Note: The version I'm using is 2014.1.1900.0.

Thank you in advance,
Luís Ponte
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Performance rendering multiple subreports

Post by HighAley »

Hello.

It's not clear how you use sub-reports.
If you use SubReports collection you should save your reports in assemblies and
If you don't use Subreports collection and your reports are simple without code in report events, you could set the Calculation Mode to Interpretation.

You could get more information ho to use Compiled reports in the next article

Thank you.
Post Reply