The BI Dashboard Diagnostic Tool allows you to monitor performance of the main DevExpress BI Dashboard's data processing operations (such as data load and filter operations). You can estimate execution time for each operation or see the number of code calls for the session period.
The BI Dashboard Diagnostic Tool consists of three projects:
-
The main project that contains a user interface to display and analyze your session data.
Read more: The Dashboard Diagnostic Tool UI.
-
Contains the source code of the BI Dashboard Diagnostic Tool.
-
For internal use. Contains the BI Dashboard Diagnostic Tool tests.
-
Run the Diagnostic Tool.
-
Select Start Session.
-
Run the code you want to diagnose.
-
Click Stop Session after the code is compiled. Wait until the log tree is built.
-
Save the report.
You can analyze the resulting report or send it to Support Center for assistance.
The following GIF image illustrates how to use the Diagnostic Tool to examine the performance of the dashboard load operation:
-
Reference
DiagnosticTool.dll
and install the Microsoft.Diagnostics.Tracing.TraceEvent package in your dashboard project. -
Create a
DiagnosticController
object. -
Call the controller's
Start
andStop
methods to collect performance data for your code. -
Implement the
IFileController
interface and specify the output file path in theTrySaveFile
method. Pass a new class instance that implementsIFileController
to the controller's constructor. -
Call the controller's
SaveAs
method to generate an XML report.