Flutter 3.41 is live! Check out theFlutter 3.41 blog post!
Performance metrics
Flutter metrics, and which tools and APIs are used to get them
Startup time to the first frame
- Check the time whenWidgetsBinding.instance.firstFrameRasterized is true.
- See theperf 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. Seeprofiling_summarizer.dart.
- Seemetrics for the
simple_animation_perf_iostest.
release_size_bytes to approximately measure the size of a Flutter app
- See thebasic_material_app_android,basic_material_app_ios,hello_world_android,hello_world_ios,flutter_gallery_android, andflutter_gallery_ios tests.
- Seemetrics in the dashboard.
- For info on how to measure the size more accurately, see theapp size page.
For a complete list of performance metrics Flutter measures per commit, visit the following sites, clickQuery, and filter thetest andsub_result fields:
Unless stated otherwise, the documentation on this site reflects Flutter 3.38.6. Page last updated on 2025-10-30.View source orreport an issue.