In early February, the complaint from a client's field team about their order-picking app came down to a single sentence: "The app is stuttering." On the test devices in our office, all of them upper-mid-range, everything was silky smooth. Then we went on site and picked up the three-year-old Android device with 3 GB of RAM that the warehouse staff were actually using, and the picture changed: while scrolling the product list, the frame rate dropped from 60 to 22, and the add-to-cart animation turned into a literal slideshow. That day confirmed it for us once again: Flutter performance isn't measured at your desk, it's measured on your customer's worst device.
This post is a summary of the profiling routine we settled into on that project and dozens like it. I won't rehash the DevTools documentation; I'll walk through where we look, and in what order, in the field.
Profiling in debug mode is slandering your own app
This is the mistake we see most often, so I'm putting it first. A debug build runs on JIT, assertions are enabled, and performance is two to three times worse than the real app. Saying "my app is slow" in debug mode is like timing a run while wearing a snowsuit. On our team the rule is clear: when a performance complaint comes in, the first step is to make a profile mode build and install it on a real device. Emulators are off-limits too; GPU behavior, thermal throttling, disk speed — none of it reflects reality on an emulator.
The only downside of profile mode compared to debug is that you give up the comfort of the debugger; but when you're hunting performance issues, you're reading a timeline, not hitting breakpoints anyway. DevTools connects to profile builds as well, and every tab you need — Performance, CPU Profiler, Memory — works there.
The second step is device selection. From the client's user analytics, we pull out the three most common low-end devices and keep them physically in the office. It sounds like an expense; the total cost is less than a single day of debugging time.

Finding the source of jank: UI thread or raster thread?
The first thing you see when you open the Performance tab in DevTools is the frame bars. The critical distinction here is this: is the time for a janky frame being spent on the UI thread or on the raster thread? That distinction determines where you'll spend the next hour, because the solutions to the two problems live in completely different worlds.
If the UI thread is bloated, the problem is in your Dart code: heavy computation in a build method, unnecessary rebuilds, synchronous JSON parsing. In our warehouse app, this was the first culprit — every card in the product list was being rebuilt on every scroll frame, because a parent widget wrapping the list triggered the entire subtree on every location update (which arrived five times a second). Turning on the "Track widget rebuilds" option in DevTools made the picture clear: 340 card builds in a single scroll. Once we split up the Provider structure and had only the widget that cared about location data listen to it via select, the number dropped to 12.
If the raster thread is bloated, the problem is on the drawing side: expensive shadows, opacity layers, clip operations, huge images. The second culprit on the same project was here. The card shadow from the design triggered a separate saveLayer on every card; while scrolling, the GPU was compositing layers for each of the twenty cards on screen. We replaced the shadow with a pre-rendered nine-patch PNG. You can't tell the difference by eye; raster time dropped from 11 ms to 4 ms per frame.
Let me sum it up in one sentence: UI thread problems are solved by reading code; raster problems are solved by reading the screen.

Shader compilation jank and life after Impeller
You'll remember this from older Flutter projects: an animation stutters the first time it plays and runs smoothly after that. That was classic shader compilation jank. With Impeller becoming the default on Android as well, this headache has largely become history; shaders are now prepared at build time rather than at runtime. But I say "largely" because in the field we still see similar stutters in two situations: projects stuck on old Flutter versions (half of the projects we inherit are like this) and screens that contain platform views — maps, webviews, ad components.
Platform views are a sore spot in our vehicle tracking apps. When you overlay a Flutter layer on top of a map widget, the compositing cost rises significantly. Our solution is usually architectural: keep Flutter-side animations on the map screen to a minimum and leave vehicle icon updates to the map SDK's own layer. Flutter can do everything; that doesn't mean it has to.
The memory graph doesn't lie, but it tells you late
There's a sneaky subtype of performance complaint: the app is smooth for the first ten minutes, then it slows down. This pattern almost always involves memory growth, and that's where the Memory tab in DevTools comes in. We ran into this in the warehouse app too: every visit to an order detail screen cached full-resolution product photos and never released them. After two hundred orders, the image cache was approaching 900 MB, and the system kept stalling under GC pressure. The fix was two lines: decode the photos at their displayed size using cacheWidth, and put an upper limit on the cache.
I especially recommend the snapshot comparison feature: enter and leave a screen, take a snapshot, repeat the same action ten times, and take a new snapshot. Whatever is growing in the diff list is your leak. This five-minute ritual has saved us who knows how many weeks of "it happens now and then, we don't know why" tickets.

A ticket closed without measuring is a ticket that gets reopened
You can't always connect DevTools to a device in the field, so we have a backup plan for that too. We add Timeline events to critical flows and embed a frame time recorder in the app that's enabled only for internal users. A stutter that happens on a warehouse worker's device is sitting in our hands the next morning as a timestamped measurement file. When there's a measurement file, "it doesn't happen on my end" stops being up for debate. We also compare the same data release by release; if a new release makes the average frame time more than 10 percent worse, the rollout stops and doesn't resume until the cause is found. Since we set that threshold, we haven't had a single "it got slower, but we don't know when" conversation; the guilty release shows itself on the chart.
Profiling has a side that touches team culture. "I optimized it, it feels faster" doesn't fly on our team; a performance PR without a before-and-after frame time chart doesn't get merged. This discipline may sound excessive, but there are two reasons for it. First, feelings are deceptive — an optimization you wrote yourself feeling fast is a measure of hope, not of experience. Second, numbers transform client communication. Instead of saying "your app is smoother now," you say "frame time while scrolling dropped from 45 ms to 9 ms, which means we don't drop below 60 fps even on the slowest device." When we presented this report on the warehouse project, the client's operations manager replied: "For the first time, I actually understood what a software developer did."
That job, which started with a "the app is stuttering" complaint from the field team, was wrapped up in three weeks, and the app's store rating rose from 3.4 to 4.3 within two months. There's no magic; there's profile mode, the right device, DevTools, and measurement discipline. If you have a similar "it's slow but we don't know why" app on your hands, write to us — in most cases, by the end of the first day we can tell you whether the culprit is the UI thread or the raster thread; the rest is craft.