You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React 19.2 adds a new set of [custom tracks](https://developer.chrome.com/docs/devtools/performance/extension) to Chrome DevTools performance profiles to provide more information about the performance of your React app.
60
60
@@ -71,24 +71,9 @@ React 19.2 adds a new set of [custom tracks](https://developer.chrome.com/docs/d
71
71
</picture>
72
72
</div>
73
73
74
-
The Scheduler track shows what React is working on for different priorities:
74
+
The Scheduler track shows what React is working on for different priorities such as "blocking" for user interactions, or "transition" for updates inside startTransition. Inside each track, you will see the type of work being performed such as the event that scheduled an update, and when the render for that update happened.
75
75
76
-
-**Blocking** - synchronous updates such as user interactions.
77
-
-**Transition** - non-blocking updates such as Actions, or useDeferredValue.
78
-
-**Suspense** - non-blocking updates rendering of Suspense content.
79
-
-**Idle** - non-blocking updates such as children hidden by Activity.
80
-
81
-
Inside each track, you will see the type of work being performed such as:
82
-
83
-
-**Event** - the event that triggered an update.
84
-
-**Update** - this is what scheduled an update.
85
-
-**Render** - rendering components (visible in the [Components track](#components-track)).
86
-
-**Commit** - committing the changes to the UI, and running effects during commit such as useLayoutEffect.
87
-
-**Remaining Effects** - running effects after commit, such as useEffect.
88
-
89
-
You'll also see states of work, such as:
90
-
-**Update Blocked** - when an update is waiting for a different priority of work.
91
-
-**Waiting for Paint** - when React yields for paint before continuing work such as running effects.
76
+
We also show information such as when an update is blocked waiting for a different priority, or when React is waiting for paint before continuing. The Scheduler track helps you understand how React splits your code into different priorities, and the order it completed the work.
92
77
93
78
See the [Scheduler track](/reference/dev-tools/react-performance-tracks#scheduler) docs for a full list.
94
79
@@ -99,24 +84,13 @@ See the [Scheduler track](/reference/dev-tools/react-performance-tracks#schedule
The Components track shows the tree of components that React is working on either to render or run effects.
87
+
The Components track shows the tree of components that React is working on either to render or run effects. Inside you'll see labels such as "Mount" for when children mount or effects are mounted, or "Blocked" for when rendering is blocked due to yielding to work outside React.
103
88
104
-
You'll see labels such as:
105
-
-**Mount** - When the children mount or effects are mounted.
106
-
-**Unmount** - When the children unmount or effects are unmounted.
107
-
-**Reconnect** - Similar to Mount, but for `<Activity>`.
108
-
-**Disconnect** - Similar to Unmount, but for `<Activity>`.
109
-
-**Blocked** - When rendering is blocked due to yielding to work outside React.
110
-
111
-
Each entry represents the duration of the corresponding component render and all its descendant children components. For each component, the color of the bar indicates how long the component itself took:
112
-
-**0-0.5ms**: light
113
-
-**0.5-10ms**: darker
114
-
-**10ms-100ms**: darkest
115
-
-**> 100ms**: red
89
+
The Component track helps you understand when components are rendered or run effects, and the time it takes to complete that work to help identify performance problems.
116
90
117
91
See the [Component track docs](/reference/dev-tools/react-performance-tracks#components) for a full list.
Finally, the performance tracks include information to help identify performance pitfalls. For example, setting state in an Effect creates a "Cascading update", which is a common patterns for performance regressions.
122
96
@@ -127,12 +101,6 @@ React flags cascading renders in the performance tracks and marks them with a re
In development builds, you can select the "Cascading Update" to view the source of the update in the "Summary" panel below.
133
-
134
-
</Note>
135
-
136
104
These performance tracks are just a start. We will continue to expand on the performance tracks to provide more information and insights about your app.
137
105
138
106
For more information, see the [React Performance Tracks docs](/reference/dev-tools/react-performance-tracks).
0 commit comments