This is a migrated thread and some comments may be shown as answers.

Performance Difference Between TRDX and Report CLass

1 Answer 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 08 Jul 2015, 09:13 PM

I have the same report defined in both a report class and a trdx file. The report is very simple, it prints a name and address on a single line. There is only a detail band and the report doesn't do any data manipulation, calculations, method calls etc... I ran the following tests with 50,000 records in a WinForm application.

 

Test 1: Report Class

It takes ~10 minutes to render and preview the report. I'm using an InstanceReportSource created from my report class. I have tried this using both a DataTable and a Telerik.Reporting.SqlDataSource as the DataSource with the same results.

 

Test 2: TRDX File

It takes ~2 minutes to render and preview the report.

  

Is this performance difference normal/expected and if so why? Given the nature of our application we can't really use trdx files due to their limitation. We also can't afford to take such a huge performance hit.

 

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 13 Jul 2015, 12:07 PM
Hello Matt,

We tested the described scenario locally with the same report as a TRDX file (Standalone Report Designer) and as a report class displayed in the Windows Forms Report Viewer.
The sample report displayed 50000 records from the AdventureWorks sample database.

Test 1: Report Class
It takes ~10 seconds to show the first page of the report and ~80 seconds to render all pages of the report (2273 pages).

Test 2: TRDX
It takes ~10 seconds to show the first page and ~80 seconds to render all pages.

There is no difference between the performance of the TRDX file ran in the Standalone Designer and the report class displayed in the WinForms viewer.
Please see the attached project for reference.

To be able to investigate further, we will need a runnable sample project exhibiting the issue you described. You can open a new ticket and attach the requested files there.

Regards,
Nasko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Matt
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or