This is a migrated thread and some comments may be shown as answers.
Logging Actual Time to Process and Render a Report
4 Answers 30 Views
This is a migrated thread and some comments may be shown as answers.
Marcus Kellermann
Top achievements
Rank 1
Marcus Kellermann asked on 29 Sep 2011, 03:13 PM
I'm trying to log the actual time that it takes to process and render a report.   I can easily determine and log the fact that my database queries are executing in sub second timings.   Yet the reports are still taking more than 15 to 13 seconds to render.   I'm working through the performance considerations.  However in order to know for sure if my changes are working I need to be able to record exactly how long the rendering/processing is taking.     I've tried wiring up the Load and Unload events of the viewer and recording the timing between those events however they aren't being fired.  Furthermore.  We intend to have a headless system which will run and render reports as part of a windows service and we want to recording the rendering time there as well.   

So the question is.  How do you time the actual rendering process?  Is there a set of events on the rendering engine I can subscribe to?

4 Answers, 1 is accepted

Sort by
0
Luiz
Top achievements
Rank 1
answered on 17 Aug 2015, 06:39 PM

Hey! The post is quite dated, but I have the same question. Does anyone have any answer to it?

0
Stef
Telerik team
answered on 20 Aug 2015, 08:03 AM
Hi Luiz,

If you run the application in Debug mode, you can see the processing and rendering times in Visual Studio Output Window.

Depending on the used viewer, there are exposed events that indicate when a report rendering/exporting/printing is started and ended. For example check the events of the HTML5 Report Viewer - Report Viewer Initialization.


i hope this information is helpful.

Regards,
Stef
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
0
Luiz
Top achievements
Rank 1
answered on 20 Aug 2015, 11:10 AM

Hi Stef,

Thanks for the answer. The javascript events are not sufficient for me, though. What I really want to do is to show in the report footer how much time it took for the report to render. Is there a way to do that?

Thanks!

0
Stef
Telerik team
answered on 21 Aug 2015, 11:02 AM
Hello Luiz,

Such feature where the rendering and processing times are available in a report is not supported.

Feel free to add a feature request for it in our feedback portal. Features are considered for implementation based on the demand for them.

Regards,
Stef
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
Asked by
Marcus Kellermann
Top achievements
Rank 1
Answers by
Luiz
Top achievements
Rank 1
Stef
Telerik team
Share this question
or