Performance metrics
-
Startup time to the first frame
- Check the time when WidgetsBinding.instance.firstFrameRasterized is true.
- See the perf dashboard.
-
Frame buildDuration, rasterDuration, and totalSpan
- See
FrameTimingin the API docs.
- See
-
Statistics of frame
buildDuration(*_frame_build_time_millis)- We recommend monitoring four stats: average, 90th percentile, 99th percentile, and worst frame build time.
- See, for example, metrics
for the
flutter_gallery__transition_perftest.
-
Statistics of frame
rasterDuration(*_frame_build_time_millis)- We recommend monitoring four stats: average, 90th percentile, 99th percentile, and worst frame build time.
- See, for example, metrics
for the
flutter_gallery__transition_perftest.
-
CPU/GPU usage (a good approximation for energy use)
- The usage is currently only available through trace events. See profiling_summarizer.dart.
- See metrics
for the
simple_animation_perf_iostest.
-
release_size_bytes to approximately measure the size of a Flutter app
- See the basic_material_app_android, basic_material_app_ios, hello_world_android, hello_world_ios, flutter_gallery_android, and flutter_gallery_ios tests.
- See metrics in the dashboard.
- For info on how to measure the size more accurately, see the app size page.
For a complete list of performance metrics Flutter measures per commit, visit the following sites, click Query, and filter the test and sub_result fields:
Unless stated otherwise, the documentation on this site reflects Flutter 3.35.5. Page last updated on 2025-10-30. View source or report an issue.