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
@@ -31,8 +31,8 @@ For a step-by-step tutorial on how to analyze the performance of a page using th
31
31
The images in this page show DevTools undocked into its own, dedicated window. To learn more about undocking DevTools, see [Undock DevTools into a separate window](../customize/placement.md#undock-devtools-into-a-separate-window) in _Change DevTools placement (Undock, Dock to bottom, Dock to left)_.
*[Analyze rendering performance with the Rendering tool](#analyze-rendering-performance-with-the-rendering-tool)
89
90
*[View frames per second in realtime with the FPS meter](#view-frames-per-second-in-realtime-with-the-fps-meter)
90
91
*[View painting events in realtime with Paint Flashing](#view-painting-events-in-realtime-with-paint-flashing)
@@ -102,11 +103,17 @@ The images in this page show DevTools undocked into its own, dedicated window. T
102
103
1. Right-click a webpage, select **Inspect**, and then in DevTools, click the **Performance** tab in the **Activity Bar**.
103
104
-->
104
105
105
-
To use the sections in this page, open the **Performance** tool in DevTools:
106
+
To open the **Performance** tool in DevTools:
106
107
107
-
1.To open DevTools, right-click the webpage, and then select **Inspect**. Or, press **Ctrl+Shift+I** (Windows, Linux) or **Command+Option+I** (macOS). DevTools opens.
108
+
1.Right-click a webpage, and then select **Inspect**.
108
109
109
-
1. In DevTools, on the **Activity Bar**, select the **Performance** tab. If that tab isn't visible, click the **More tools** () button.
110
+
Or, press **Ctrl+Shift+I** (Windows, Linux) or **Command+Option+I** (macOS).
111
+
112
+
DevTools opens.
113
+
114
+
1. In DevTools, on the **Activity Bar**, select the **Performance** () tab.
115
+
116
+
If that tab isn't visible, click the **More tools** () button.
DevTools records performance metrics while the page refreshes and then automatically stops the recording a couple seconds after the load finishes. Then, DevTools displays the recording and automatically zooms in on the portion of the recording where most of the activity occurred:
152
167
153
-
<!-- 1st instance of this png ~~ -->
168
+
<!-- 1st instance of this png -->
154
169
155
170
156
171
<!-- ------------------------------ -->
@@ -174,9 +189,13 @@ To force garbage collection while you are recording a page, click the **Collect
174
189
<!-- ------------------------------ -->
175
190
#### Show recording settings
176
191
177
-
To expose more settings related to how DevTools captures performance recordings, in the **Performance** tool, click the **Capture settings** () button. Checkboxes and dropdown lists are displayed at the top of the **Performance** tool:
192
+
To expose more settings related to how DevTools captures performance recordings:
178
193
179
-

194
+
* In the **Performance** tool, click the **Capture settings** () button.
195
+
196
+
Checkboxes and dropdown lists are displayed at the top of the **Performance** tool:
197
+
198
+

180
199
181
200
182
201
<!-- ------------------------------ -->
@@ -387,27 +406,34 @@ To closely inspect your performance recording, you can select a portion of a rec
387
406
<!-- ---------- -->
388
407
###### Use keyboard shortcuts to navigate
389
408
390
-
To use keyboard shortcuts to quickly navigate the recording, first, choose your preferred style of keyboard navigation.
409
+
To use keyboard shortcuts to quickly navigate the recording, first, choose your preferred style of keyboard navigation, as follows:
410
+
411
+
* In the top-right corner of the **Performance** tool, click the **Show shortcuts** () button, and then select the **Modern** or **Classic** option button.
391
412
392
-
In the top-right corner of the **Performance** tool, click the **Show shortcuts** () button, and then select the **Modern** or **Classic** option button. The **Keyboard shortcuts** dialog displays the available shortcuts for the selected mapping option.
413
+
The **Keyboard shortcuts** dialog displays the available shortcuts for the selected mapping option.
393
414
394
-
With the **Modern** option button selected:
415
+
416
+
When the **Modern** option button is selected:
395
417
396
418

397
419
398
420
* To zoom: **Command/Ctrl** + mouse wheel.
399
-
* To vertical scroll: Mouse wheel.
421
+
* To vertical scroll<!-- todo: pan = scroll? -->: Mouse wheel.
400
422
* To horizontal scroll: **Shift** + mouse wheel.
401
423
402
424
403
-
With the **Classic** option button selected:
425
+
When the **Classic** option button is selected:
404
426
405
427
* To zoom: Mouse wheel, or touchpad up or down.
406
428
* To vertical scroll: **Shift** + mouse wheel.
407
429
* To horizontal scroll: **Shift** + **Left arrow**|**Right arrow**
408
430
409
431
410
-
You can also pan left and right by pressing the **A** and **D** keys, and zoom by pressing the **W** or **S** keys.
432
+
Additional shortcuts:
433
+
434
+
* Zoom, by pressing **W** or **S**.
435
+
436
+
* Pan<!-- todo: pan = scroll? --> left and right, by pressing **A** or **D**.
411
437
412
438
413
439
<!-- ---------- -->
@@ -572,7 +598,7 @@ Select an event to view more information about it in the **Summary** tab. DevTo
572
598
573
599

574
600
575
-
DevTools represents main thread activity with a flame chart:
601
+
DevTools represents main thread activity with a flame chart:
WebSocket activities are displayed in the **Network** track in the **Performance** tool, to help correlate JavaScript activity with WebSocket messages. This can help identify whether latency issues are coming from the client's parsing of a message, or from the server's response.
1108
+
1109
+
To view WebSocket messages in the **Performance** tool:
1110
+
1111
+
1. Go to a webpage that sends WebSocket messages, such as [Simple chat app](https://azure.github.io/azure-webpubsub/demos/chat), in a new window or tab.
1112
+
1113
+
1. Right-click the webpage, and then select **Inspect**.
1114
+
1115
+
DevTools opens.
1116
+
1117
+
1. In the **Activity Bar**, select the **Performance** () tool.
1118
+
1119
+
1. In the upper left of the **Performance** tool, click the **Record** () button.
1120
+
1121
+
1. In the chat webpage, in the **User Name** text box, enter a name, such as "John", and then click the **Connect** button.
1122
+
1123
+
At the bottom of the chat form, a message is displayed, such as "John:v8g... connected."
1124
+
1125
+
1. In the **Send a message** text box, enter a message, such as "Hello", and then click the **Send** button.
1126
+
1127
+
In the chat app, the message is displayed, such as "Hello":
1128
+
1129
+

1130
+
1131
+
WebSocket traffic is generated.
1132
+
1133
+
1. In the upper left of the **Performance** tool, click the **Stop** () button.
1134
+
1135
+
Or, in the middle of the **Performance** tool, click the **Stop** button.
1136
+
1137
+
In the **Performance** tool, the timeline is displayed.
1138
+
1139
+
1. Expand the **Network** track.
1140
+
1141
+
1. Click a vertical gold line.
1142
+
1143
+
1. At the bottom of the **Performance** tool, in the **Summary** tab, information about the selected WebSocket message is displayed, such as:
*[Analyze the messages of a WebSocket connection](../network/reference.md#analyze-the-messages-of-a-websocket-connection) in _Network features reference_.
* [View WebSocket message activities in the Performance tool](../whats-new/2024/08/devtools-128.md#view-websocket-message-activities-in-the-performance-tool) in _What's New in DevTools (Microsoft Edge 128)_.
@@ -1082,11 +1165,19 @@ Use the **Rendering** tool to help visualize the rendering performance of your p
1082
1165
1083
1166
To open the **Rendering** tool:
1084
1167
1085
-
1. Right-click a webpage, and then select **Inspect**. Or, press **Ctrl+Shift+I** (Windows, Linux) or **Command+Option+I** (macOS). DevTools opens.
1168
+
1. Open a webpage, such as [Sluggish Animation](https://microsoftedge.github.io/Demos/devtools-performance-get-started/), in a new window or tab.
1169
+
1170
+
1. Right-click the webpage, and then select **Inspect**.
1171
+
1172
+
DevTools opens.
1173
+
1174
+
1. If the **Quick View** panel isn't shown, select **Customize and control DevTools** () > **Toggle Quick View panel**.
1175
+
1176
+
Or, press **Esc**.
1086
1177
1087
-
1. On the **Activity Bar** (or **Quick View**), click the **More tools** () button, and then select **Rendering**.
1178
+
1. On the **Quick View** toolbar, click the **More tools** () button, and then select **Rendering**.
1088
1179
1089
-
The **Rendering** tool opens:
1180
+
The **Rendering** tool opens in the **Quick View** panel:
Copy file name to clipboardExpand all lines: microsoft-edge/devtools/whats-new/2024/08/devtools-128.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,7 @@ See also:
76
76
WebSocket activities have been added to the **Network** track in the **Performance** tool, to help correlate JavaScript activity with WebSocket messages. This can help identify whether latency issues are coming from the client's parsing of a message, or from the server's response.
77
77
78
78
See also:
79
+
*[View WebSocket messages](../../../performance/reference.md#view-websocket-messages) in _Performance features reference_.
0 commit comments