Problem when loading a report
-
- Posts: 7
- Joined: Mon May 14, 2012 10:00 am
- Location: Slovakia
Problem when loading a report
Version: Stimulsoft.Wpf 2012.1 Trial.
I have a report with one DataBand that is connected to a collection of .NET objects.
The report is displaying three columns.
If the collection is small (up to thousand rows) then the report is loaded relatively fast (it takes up to several seconds).
However, loading a collection of ten thousand objects is really slow.
It can take several minutes to load, the CPU is at 100%, and the application looks dead.
I have also tried the latest prerelease version with the same result.
Is there any way how to improve loading of large data?
I have a report with one DataBand that is connected to a collection of .NET objects.
The report is displaying three columns.
If the collection is small (up to thousand rows) then the report is loaded relatively fast (it takes up to several seconds).
However, loading a collection of ten thousand objects is really slow.
It can take several minutes to load, the CPU is at 100%, and the application looks dead.
I have also tried the latest prerelease version with the same result.
Is there any way how to improve loading of large data?
- Attachments
-
- 1835.ReportLargeAmountOfData.zip
- (100.75 KiB) Downloaded 360 times
Problem when loading a report
Hello.
And we'll try to help you.
Thank you.
Please, send us a report template with data for a big report or a sample project to reproduce the issue with a large data.RobertHerceg wrote:Version: Stimulsoft.Wpf 2012.1 Trial.
I have a report with one DataBand that is connected to a collection of .NET objects.
The report is displaying three columns.
If the collection is small (up to thousand rows) then the report is loaded relatively fast (it takes up to several seconds).
However, loading a collection of ten thousand objects is really slow.
It can take several minutes to load, the CPU is at 100%, and the application looks dead.
I have also tried the latest prerelease version with the same result.
Is there any way how to improve loading of large data?
And we'll try to help you.
Thank you.
-
- Posts: 7
- Joined: Mon May 14, 2012 10:00 am
- Location: Slovakia
Problem when loading a report
I have just attached the test project in VS2010 which demonstrates the problem.
To get it running it will be necessary to update references to Stimusloft binaries (I had to exclude them from the zip as it was too large).
Some notes to the project:
Reports\TestReport.mrt ... this is the stimulsoft report which should be displayed
ViewModel\ReportViewModel .. the view model contains the data for the report
Converters\BusinessReport2StiReportConverter .. converts the ReportViewModel to StiReport before it is loaded
To get it running it will be necessary to update references to Stimusloft binaries (I had to exclude them from the zip as it was too large).
Some notes to the project:
Reports\TestReport.mrt ... this is the stimulsoft report which should be displayed
ViewModel\ReportViewModel .. the view model contains the data for the report
Converters\BusinessReport2StiReportConverter .. converts the ReportViewModel to StiReport before it is loaded
Problem when loading a report
Hello.
Sorry, we need time to prepare an answer for you.
Thank you.
Sorry, we need time to prepare an answer for you.
Thank you.
Problem when loading a report
Hello.
We couldn't find out the reason of the freezing of the application.
Maybe the cause is your Business Objects or Converter.
Thank you.
We couldn't find out the reason of the freezing of the application.
Maybe the cause is your Business Objects or Converter.
Thank you.
-
- Posts: 7
- Joined: Mon May 14, 2012 10:00 am
- Location: Slovakia
Problem when loading a report
Well, the performance profiler in VS has said something else.
It looks like the app is meditating and reaching Nirvana while in the StiReport.Render() method.
See the attached 'call tree' snapshots. Is there any way how to configure DataVirtualization? Something like - load first 10 pages, then another 10 pages and so on ..
It looks like the app is meditating and reaching Nirvana while in the StiReport.Render() method.
See the attached 'call tree' snapshots. Is there any way how to configure DataVirtualization? Something like - load first 10 pages, then another 10 pages and so on ..
- Attachments
-
- 1876.LargeAmountOfData_Profiler_CallTree_2.PNG (161.91 KiB) Viewed 4506 times
-
- 1875.LargeAmountOfData_Profiler_CallTree.PNG (147.04 KiB) Viewed 4507 times
-
- Posts: 7
- Joined: Mon May 14, 2012 10:00 am
- Location: Slovakia
Problem when loading a report
In case that you are not able to reproduce the problem. Could you please post a sample code (project) with large amount of data working? Thanks.
Problem when loading a report
Hello.
We've found the reason of your problem.
Tomorrow we'll send you rebuilt report.
Also we'll make code optimization that will be available in our next prerelease build.
Thank you.
We've found the reason of your problem.
Tomorrow we'll send you rebuilt report.
Also we'll make code optimization that will be available in our next prerelease build.
Thank you.
Problem when loading a report
Hello,
Please check the report in attachment.
Thank you.
Please check the report in attachment.
Thank you.
- Attachments
-
- 1893.TestReportModified.zip
- (6.54 KiB) Downloaded 381 times
-
- Posts: 7
- Joined: Mon May 14, 2012 10:00 am
- Location: Slovakia
Problem when loading a report
Hello,
Excellent. This is much better. It still takes some time to display the ten thousand records, but it is much better now.
I will compare the modified report with the original one to find out what has to be changed. I need to modify also other reports that can be displayed on many pages.
Thank you
Excellent. This is much better. It still takes some time to display the ten thousand records, but it is much better now.
I will compare the modified report with the original one to find out what has to be changed. I need to modify also other reports that can be displayed on many pages.
Thank you