Every Power Platform technical consultant should know the below performance diagnostic tools. They are useful for analysing Power Platform performance issues or recording metrics for performance tests.
Network Capacity and Throughput Report
Purpose: Validate the current network meets or exceeds the minimum requirements.
How to use: Once you have opened the tool hit the run button. The status will change to green for data points that meet Power Platform minimum requirements and red for those that do not.
Client Performance Center
Purpose: Shows network and client details at a granular level for a form load. This is a great tool for diagnosing form performance issues. It is also a great tool to use for recording metrics when executing manual performance tests. The best part of the new Client Performance Center is it works on entity lists (views) as well as forms.
How to Use: Press Alt + Shift + Q keys at the same time, click on the small area in the top right (ribbon) of the screen to display the full dialog.
How to optimise Power Platform apps for performance
Note: Instead of repeating well-written documentation from Microsoft I have bullet-pointed performance tips. The finer details can be found in the referenced Microsoft links at the bottom of the page.
Form Design
Keep the number of fields to a minimum
Form Scripts (JavaScript)
Avoid using synchronous requests
Avoid including unnecessary JavaScript we resource libraries
Avoid loading all scripts in the OnLoad event
Use collapsed tabs to defer loading web resources
Set default visibility options (instead of using JavaScript)
Command Bar or Ribbon
Keep the number of controls to a minimum
Use asynchronous network requests in Custom Rules
Do not execute database-intensive operations during business hours, examples are;
Enabling language packs
Solution, import, upgrade, delete or export
Install or upgrade apps from Microsoft AppSource or the Dynamics 365 admin center
Publish customisations
Large bulk record operations
Large data migrations
Admin Configuration
Turn off legacy form rendering
References
https://docs.microsoft.com/en-us/power-platform/admin/verify-network-capacity-throughput-clients
https://docs.microsoft.com/en-us/power-platform/admin/performance-tuning-and-optimization
https://docs.microsoft.com/en-us/powerapps/maker/model-driven-apps/optimize-form-performance
https://www.microsoft.com/en-us/download/details.aspx?id=23261
Comments