| [ Web Proxy ] |
| Viewing: https://docs.flutter.dev/perf/web-performance | [Back] [Original] |
docs.flutter.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.
Learn how to use Chrome DevTools to debug web performance issues.
Profiling Flutter web apps requires Flutter version 3.14 or later.
The Flutter framework emits timeline events as it works to build frames, draw scenes, and track other activity such as garbage collections. These events are exposed in the Chrome DevTools performance panel for debugging.
For information on how to optimize web loading speed, read the Flutter blog post Best practices for optimizing Flutter web loading speed.
You can also emit your own timeline events using the dart:developer
Timeline
and TimelineTask
APIs for further performance analysis.
[Screenshot of the Chrome DevTools performance panel]
To configure which timeline events are tracked, set any of the following top-level properties to true
in your app's main method.
Timeline events for every Widget built.
Timeline events for every user-created Widget built.
Timeline events for every RenderObject layout.
Timeline events for every RenderObject painted.
Unless stated otherwise, the documentation on this site reflects Flutter 3.44.7. Page last updated on 2026-07-29. View source or report an issue.
| Web Proxy Viewer | New URL | Original Page |