# How do I find what is slowing down a Power Apps code app?

Exam: AB-400 — Power Platform Developer Associate
Knowledge domain: Extend the user experience (25–30%)
Updated: 2026-11-25T06:47:18.207562+00:00
HTML: https://learningpathx.com/faq/AB-400/ab400-measure-power-apps-code-app-performance.html

## Also asked as

- How can I distinguish a slow request from heavy rendering in a code app?
- What should I measure before optimizing a deployed Power Apps code app?

Reproduce one slow interaction with the same release, browser, user and synthetic dataset. Compare browser Network timing with a Performance recording to separate remote waits from main-thread work. Measure a fresh launch and a repeat interaction separately.

If the interaction sends several equivalent reads, inspect the triggers and consider coalescing requests that share the same inputs and access context. If the first load transfers large optional assets, consider deferring them. If requests finish while the screen remains unresponsive, inspect rendering work and consider list virtualization for long lists. If a remote operation dominates, capture its sanitized timing and check its request and response shape before adding concurrency.

Change one cause, repeat the measured interaction and verify the same rows, freshness and permissions. For startup trends, Application Insights can report `timeToAppInteractive` when the app loads and sends its platform metrics. Keep a denied-user test and confirm that optional screens or keyboard interactions still work where relevant. The measured result belongs to the recorded workload and browser conditions.

[Code app Application Insights metrics](https://learn.microsoft.com/en-us/power-apps/developer/code-apps/how-to/set-up-azure-app-insights) · [Code app management skills scope](https://learn.microsoft.com/en-us/credentials/certifications/resources/study-guides/ab-400)

Source: [AB-400: Deploying and Troubleshooting Power Apps Code Apps](https://learningpathx.com/news/ab-400-deploying-and-troubleshooting-power-apps-code-apps.html)
