LowCodeStacks™
Sign in

Canvas app performance: find what's slow and fix it at the source

The documented causes behind slow canvas app performance — OnStart bloat, N+1 queries, cross-screen references, collection abuse — how to find each with Monitor and App Checker, and the fix Microsoft recommends.

Power AppsFix a problem5 min read

Checked against Microsoft Learn 6 sources · Updated By · drafted with AI help, checked by a personHow we write guides

Slow canvas apps are rarely slow for mysterious reasons — Microsoft's performance documentation names the same handful of patterns again and again. This guide maps symptom to cause to documented fix.

A table of six canvas app slowdowns, each read from left to right: what you see, why it happens, and the documented fix. 1. You see: A long white screen before the first screen. Why: Everything in OnStart must finish first: the older blocking setting, or Navigate in OnStart. Fix: App.StartScreen instead of Navigate, and variable setup in App.Formulas. 2. You see: A gallery is blank for a moment, or works on the second try. Why: Non-blocking OnStart: a variable it sets may still be empty when a screen reads it. Fix: Named formulas in App.Formulas: calculated when first needed, never "not set yet". 3. You see: Monitor shows repeated calls to the same source. Why: Select N+1: each row of a gallery fires its own LookUp. Fix: One batched query, a view with the related columns, or the join at the source. 4. You see: The UI is blocked while data loads. Why: ClearCollect of a large table: nothing moves until every row lands. Fix: Read-only data straight in the gallery's Items, delegated to the source. 5. You see: Data reaches the app through flow calls. Why: Power Automate as a data loader: about 0.6 seconds per call just to start. Fix: Query the source directly, or use Dataverse views or low-code plugins. 6. You see: Every screen is slow. App Checker flags Inefficient Delay Loading. Why: Cross-screen references: a control reads another screen, so both screens load. Fix: Keep shared state in variables or collections; pass values through navigation. Trace with Monitor first, and re-measure the same journey after each fix.
Six common causes of a slow canvas app: what you see, why it happens, and the documented fix.

Measure first

Two built-in tools turn "it feels slow" into a diagnosis:

  • Monitor logs every data call and key activity as the app runs — including a session attached to a phone, so field-reported slowness can be seen rather than imagined.
  • Performance insights and App Checker in Studio flag known anti-patterns; cross-screen references surface under "Inefficient Delay Loading".

Fix what the trace shows, not what a checklist guesses — and when a fix lands, re-measure the same journey so the claim "it's faster now" belongs to evidence someone actually gathered.

Fix the start

App.OnStart is imperative: an ordered list of work. How much it delays the first screen depends on one app setting:

  • With non-blocking OnStart, which is now the default, OnStart runs alongside everything else. The first screen can appear and respond before OnStart finishes, so a variable or collection that OnStart sets may still be empty when a screen reads it. That's the cause of "the gallery is blank for a moment" and "it works on the second try".
  • With the older blocking behaviour, or when OnStart contains Navigate, everything in OnStart must finish before the first screen appears, which is where a long OnStart turns into a long white screen.

Either way, Microsoft's guidance is the same:

  • Move variable setup to named formulas in App.Formulas. They're calculated when first needed, are never "not set yet", and don't hold up the first screen.
  • Replace Navigate inside OnStart with App.StartScreen. It's declarative, and the first screen can show before OnStart completes. (Navigate in OnStart is retired.)
  • Load data a single screen needs in that screen's OnVisible, not in OnStart.
powerfx
// Instead of:
App.OnStart = Collect(OrdersCache, Orders);
If(Param("AdminMode") = "1", Navigate(AdminScreen), Navigate(HomeScreen))

// Declare the start screen and let it paint:
App.StartScreen = If(Param("AdminMode") = "1", AdminScreen, HomeScreen)

Hunt the data patterns

The three documented heavyweights:

  • Select N+1: a gallery whose rows each fire a LookUp turns one screen into dozens of calls. Watch Monitor for repeated calls to the same source; fix by batching into one query, using a view that already includes the related columns, or reshaping the data so the join happens at the source. Microsoft's example case cut a five-minute load to under ten seconds by fixing the join at the source.
  • Collections as a crutch: ClearCollect of a large table blocks the UI until every row lands. Collections are for small data you compute against repeatedly (a basket, not a backlog); read-only data belongs directly in the gallery's Items, delegated to the source. Delegation itself is its own discipline — our delegation cheat sheet covers which functions push work to the server.
  • Power Automate as a data loader: each flow call costs roughly 0.6 seconds just to start, before any work happens. Microsoft is blunt that the worst-performing apps overuse this; query the source directly, or move server-side logic into Dataverse views or low-code plugins that return finished results.

Remove cross-screen references

A label on Screen A reading a control on Screen B forces Power Apps to load both screens before A appears — multiplied across an app, that's the "every screen is slow" signature. The documented cure: hold shared state in variables or collections, pass values through navigation parameters, and keep each screen self-contained. On phones this also fights memory-driven app restarts, which Microsoft ties directly to how the app is authored.

The performance loop
  1. Step 1Trace with Monitor
  2. Step 2Fix the top pattern
  3. Step 3Re-measure the same journey
  4. Step 4Repeat until the trace is boring

Don't

  • Don't Patch rows one by one in a loop — bulk-patch a collection of changes.
  • Don't ship media-heavy screens untested on the oldest device your users carry.

Sources

Add LowCodeStacks as a preferred source on Google

Did this fix it?

Get the weekly email

New guides and updates from LowCodeStacks, every Tuesday. One email a week, no more.

From LowCodeStacks, Regina, SK, contact@lowcodestacks.com. You can unsubscribe any time, from the link in every email or in your privacy settings. See the Privacy notice.

Comments

No comments yet. Share what worked for you.

Sign in to comment. Comments show under a display name you choose, never your email.