Diagnose and optimize client performance

Completed

You can use various browser-based tools and the Performance timer tool to diagnose and optimize client performance of finance and operations apps.

Diagnose and optimize client performance by using browser-based tools

To optimize the performance of forms and diagnose any potential issues, you can use browser-based tools, such as Fiddler, the Developer tools option in Chrome, and Trace Parser. You can test your form's performance in a browser by setting the form as a startup object and previewing the form in a browser window.

When you troubleshoot service authentication issues, a few basic and common procedures can help resolve the issues that are most often encountered. Poorly performing forms can slow down a system, degrading the user experience, and sometimes rendering a module unusable. Optimizing your forms for higher performance will ensure that your work is useful and appreciated by users. Fiddler is a free, browser-based debugger tool that is used to diagnose authentication issues. It is customizable and uses a robust extensibility model, where you can run simple Fiddler Script tests or write your own test by using any .NET language. Fiddler also has a timeline that shows the duration of a selected session so you can better understand how finance and operations apps is using your network. You can then use the performance analysis data to make adjustments to enhance order requests in finance and operations apps and optimize the network performance.

In Google Chrome, you can open the Developer tools window by selecting Ctrl+Shift+i. On the Performance tab, you can record your scenario, such as loading the page or performing other actions within the page. When you have finished performing the action that you want to test, stop the recording and then perform an analysis. You will see a breakdown on time spent loading, scripting, and rendering the page. On the Network tab, you can capture ProcessMessage calls and analyze each call independently.

Trace Parser is built into finance and operations apps and is used to analyze performance issues. In the top-right corner of the application, select the Help & Support question mark button and then select Trace. Enter a name for your trace in the Trace name field and then select Start trace. Next, perform the action that you want to analyze, such as loading a page or performing an action on a page. When you finish, select Stop trace. The trace is now available to be downloaded to your local machine or you can upload it to the cloud. The trace is analyzed by using the desktop version of Trace Parser. Select the Captured traces button on the Trace page to manage or delete uploaded traces. Uploaded traces are automatically deleted after seven days.

For more information on performance testing, see the modules that are listed in the Summary unit of this module.

Diagnose and optimize client performance by using Performance timer

Performance timer is a tool that aids in diagnosing performance issues on the client and server. Performance timer is generated by opening a web page with the added parameter debug=develop: https://<yoursite>.cloud.test.dynamics.com/en/?cmp=USMF&debug=develop. The Performance timer will appear in the top-right corner of finance and operations where you can see the separations between client time and server time, as well as the total time when selecting a page. The Performance timer provides links for you to view information regarding forms, garbage collection, web client sessions, and services session providers.