How Do I Fine Tune My Rich Client Application? (Magic xpa 3.x)
When you are running a Rich Client application, there are several ways you can gather statistics about how it is running.
First, you can use the Broker Monitor, which will monitor all the applications you are running.
For each session, you can use the ClientSessionStatisticsGet() function. This returns a comma-delimited string, which can be easily parsed (using StrToken()) into the various components shown above.
Note: You can use this function before a process and after it, and see the changes in the statistics.
In the Studio, information is available in a running program by hovering the mouse over the right-hand area of the status bar.
This functionality can also be made available at runtime, by setting the Publish.html file’s DisplayStatisticInformation setting to Y. When you do this, you, or the end user, can see the statistics by hovering the mouse over the right-hand area of the status bar. But in addition, Magic xpa will open a screen showing these statistics after each session.