Flutter performance profiling

Diagnosing performance problems

Connect to a physical device
Run in profile mode

Launch DevTools

The performance overlay

Interpreting the graphs

Flutter’s threads

Displaying the performance overlay

Using the Flutter inspector
From the command line
Programmatically

Identifying problems in the UI graph

Identifying problems in the GPU graph

Checking for offscreen layers
Checking for non-cached images
Viewing the widget rebuild profiler

Benchmarking

Other resources

Note:
  To learn how to use the Performance View
  (part of Flutter DevTools)
  for debugging performance issues,
  see Using the Performance view.

What you’ll learn