Skip to content

Commit 81e6ec6

Browse files
Merge pull request #3350 from MicrosoftDocs/user/mikehoffms/throttle-icon
Doc the Performance tool tab's warning icon when throttled
2 parents 3de4cd6 + 0c1f125 commit 81e6ec6

8 files changed

Lines changed: 57 additions & 21 deletions

File tree

75.7 KB
Loading

microsoft-edge/devtools-guide-chromium/device-mode/index.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: msedgedevrel
66
ms.topic: conceptual
77
ms.service: microsoft-edge
88
ms.subservice: devtools
9-
ms.date: 11/20/2023
9+
ms.date: 01/30/2025
1010
---
1111
<!-- Copyright Kayce Basques
1212
@@ -32,18 +32,21 @@ Some aspects of mobile devices aren't emulated in DevTools. For example, the ar
3232
Use [Remote Debugging](../remote-debugging/index.md) to interact with the code of a page from your machine while your page actually runs on a mobile device. You can view, change, debug, profile, or all four while you interact with the code. Your machine can be a notebook or desktop computer.
3333

3434

35-
**Detailed contents:**<!--July 27, 2023. compare page toc at https://developer.chrome.com/docs/devtools/device-mode/-->
35+
**Detailed contents:**<!--Jan. 30, 2025. compare page toc at https://developer.chrome.com/docs/devtools/device-mode/-->
3636
* [Simulate a mobile viewport](#simulate-a-mobile-viewport)
3737
* [Responsive Viewport Mode](#responsive-viewport-mode)
38-
* [Show media queries](#show-media-queries)
39-
* [Set the device type](#set-the-device-type)
38+
* [Show media queries](#show-media-queries)
39+
* [Set device pixel ratio](#set-device-pixel-ratio)
40+
* [Set the device type](#set-the-device-type)
4041
* [Mobile Device Viewport Mode](#mobile-device-viewport-mode)
41-
* [Rotate the viewport to landscape orientation](#rotate-the-viewport-to-landscape-orientation)
42-
* [Show device frame](#show-device-frame)
43-
* [Add a custom mobile device](#add-a-custom-mobile-device)
42+
* [Rotate the viewport to landscape orientation](#rotate-the-viewport-to-landscape-orientation)
43+
* [Show device frame](#show-device-frame)
44+
* [Add a custom mobile device](#add-a-custom-mobile-device)
4445
* [Show rulers](#show-rulers)
4546
* [Zoom the viewport](#zoom-the-viewport)
47+
* [Capture a screenshot](#capture-a-screenshot)
4648
* [Throttle the network and CPU](#throttle-the-network-and-cpu)
49+
* [Network and Performance tabs have warning icon when throttled](#network-and-performance-tabs-have-warning-icon-when-throttled)
4750
* [Throttle the CPU only](#throttle-the-cpu-only)
4851
* [Throttle the network only](#throttle-the-network-only)
4952
* [Emulate sensors](#emulate-sensors)
@@ -281,12 +284,21 @@ To test how quickly your page loads and how it responds at different internet an
281284

282285
If the **Throttle list** is hidden, widen the **Device Toolbar**.
283286

284-
* **Mid-tier mobile** simulates `fast 3G` and throttles your CPU. It is four times slower than normal.
285-
* **Low-end mobile** simulates `slow 3G` and throttles your CPU. It is six times slower than normal.
287+
* **Mid-tier mobile** simulates **CPU** throttling of **4x slowdown** and **Network** throttling of **Slow 4G**. It is four times slower than normal.
288+
289+
* **Low-end mobile** simulates **CPU** throttling of **6x slowdown** and **Network** throttling of **3G**. It is six times slower than normal.
286290

287291
All of the throttling is based upon the normal capability of your laptop or desktop.
288292

289293

294+
<!-- ------------------------------ -->
295+
#### Network and Performance tabs have warning icon when throttled
296+
297+
When throttling is enabled in **Device Emulation**, a warning icon is displayed in the **Network** and **Performance** tool tabs on the **Activity Bar**, to help you know that performance is impacted by throttling:
298+
299+
![The Throttled warning icon on the Network and Performance tool tabs](./index-images/performance-warning-icon.png)
300+
301+
290302
<!-- ------------------------------ -->
291303
#### Throttle the CPU only
292304

@@ -335,10 +347,6 @@ The sections below provide a quick look on how to override geolocation and set d
335347

336348
Use the **Sensors** tool to override geolocation and simulate device orientation.
337349

338-
339-
<!-- ------------------------------ -->
340-
#### Override geolocation
341-
342350
If your page depends on geolocation information from a mobile device to render properly, provide different geolocations using the geolocation-overriding UI.
343351

344352
1. In the **Activity Bar**, click the **More tools** (![More tools icon](./index-images/more-tools-icon.png)) button, and then click **Sensors**:

microsoft-edge/devtools-guide-chromium/evaluate-performance/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ Mobile devices have much less CPU power than desktops and laptops. Whenever you
6565

6666
![CPU throttle](./index-images/capture-settings.png)
6767

68-
If you want to ensure that pages work well on low-end mobile devices, set **CPU** to **6x slowdown**.
68+
A warning icon is displayed on the **Performance** tool's tab, to remind you that throttling is enabled.
69+
70+
If you want to ensure that pages work well on low-end mobile devices, set **CPU** to **6x slowdown**.
6971

7072

7173
<!-- ------------------------------ -->

microsoft-edge/devtools-guide-chromium/evaluate-performance/reference.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,23 +135,29 @@ An example of a recording when JS samples are enabled:
135135

136136
<!-- ------------------------------ -->
137137
#### Throttle the network while recording
138+
<!-- https://developer.chrome.com/docs/devtools/performance/reference#network-throttle -->
138139

139140
To throttle the network while recording:
140141

141-
1. In the **Performance** tool, click the **Capture settings** (![Capture settings](./reference-images/capture-settings-icon.png)) button.
142+
1. In the **Performance** tool, click the **Capture settings** (![Capture settings](./reference-images/capture-settings-icon.png)) button. See [Show recording settings](#show-recording-settings), above.
142143

143144
1. Set **Network** to the desired level of throttling.
144145

146+
A warning icon is displayed on the **Network** tool's tab, to remind you that throttling is enabled.
147+
145148

146149
<!-- ------------------------------ -->
147150
#### Throttle the CPU while recording
151+
<!-- https://developer.chrome.com/docs/devtools/performance/reference#cpu-throttle -->
148152

149153
To throttle the CPU while recording:
150154

151-
1. In the **Performance** tool, click the **Capture settings** (![Capture settings](./reference-images/capture-settings-icon.png)) button.
155+
1. In the **Performance** tool, click the **Capture settings** (![Capture settings](./reference-images/capture-settings-icon.png)) button. See [Show recording settings](#show-recording-settings), above.
152156

153157
1. Set **CPU** to the desired level of throttling.
154158

159+
A warning icon is displayed on the **Performance** tool's tab, to remind you that throttling is enabled.
160+
155161
Throttling is relative to the capabilities of your computer. For example, the **2x slowdown** option makes your CPU operate twice as slow than normal. DevTools don't truly simulate the CPUs of mobile devices, because the architecture of mobile devices is very different from that of desktops and laptops.
156162

157163

-221 KB
Loading

microsoft-edge/devtools-guide-chromium/network/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: msedgedevrel
66
ms.topic: conceptual
77
ms.service: microsoft-edge
88
ms.subservice: devtools
9-
ms.date: 07/11/2023
9+
ms.date: 02/12/2025
1010
---
1111
<!-- Copyright Kayce Basques
1212
@@ -145,10 +145,12 @@ The network connection of the computer that you use to build sites is probably f
145145

146146
1. Select the **Throttling** dropdown list in the top toolbar. It is set to **No throttling** by default.
147147

148-
1. Select **Slow 3G**:
148+
1. Select **Slow 3G** or **Slow 4G**:
149149

150150
![Select Slow 3G](./index-images/throttling-slow-3g.png)
151151

152+
A warning icon is displayed on the **Network** tool's tab, to remind you that throttling is enabled.
153+
152154
1. Long-press **Reload** (![Reload](./index-images/refresh-icon.png)) (or right-click **Refresh**) and then select **Empty cache and hard refresh**:
153155

154156
![Empty cache and hard refresh](./index-images/empty-cache-and-hard-reset.png)
31.6 KB
Loading

microsoft-edge/devtools-guide-chromium/network/reference.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,21 @@ This article is a feature-driven inventory of the **Network** tool. Use the **N
2828

2929
<!-- -------------- -->
3030
**Detailed contents:**
31-
<!-- omit h6 (3rd level). compare Table of contents in https://developer.chrome.com/docs/devtools/network/reference/ -->
3231

32+
<!-- compare https://developer.chrome.com/docs/devtools/network/reference/ -->
33+
<!-- updated 2025/01/31 -->
3334
* [Record network requests](#record-network-requests)
3435
* [Stop recording network requests](#stop-recording-network-requests)
3536
* [Clear requests](#clear-requests)
3637
* [Save requests across page loads](#save-requests-across-page-loads)
3738
* [Capture screenshots during page load](#capture-screenshots-during-page-load)
3839
* [Change loading behavior](#change-loading-behavior)
3940
* [Emulate a first-time visitor by disabling the browser cache](#emulate-a-first-time-visitor-by-disabling-the-browser-cache)
41+
* [Disable the browser cache from the Network conditions tool](#disable-the-browser-cache-from-the-network-conditions-tool)
4042
* [Manually clear the browser cache](#manually-clear-the-browser-cache)
4143
* [Emulate offline](#emulate-offline)
4244
* [Emulate slow network connections](#emulate-slow-network-connections)
45+
* [Emulate slow network connections from the Network Conditions tool](#emulate-slow-network-connections-from-the-network-conditions-tool)
4346
* [Manually clear browser cookies](#manually-clear-browser-cookies)
4447
* [Override the user agent](#override-the-user-agent)
4548
* [Set user agent client hints](#set-user-agent-client-hints)
@@ -52,13 +55,19 @@ This article is a feature-driven inventory of the **Network** tool. Use the **N
5255
* [Sort by column](#sort-by-column)
5356
* [Sort by activity phase](#sort-by-activity-phase)
5457
* [Analyze requests](#analyze-requests)
58+
* [Display a log of requests](#display-a-log-of-requests)
59+
* [Add or remove columns](#add-or-remove-columns)
60+
* [Add columns for response headers](#add-columns-for-response-headers)
5561
* [Display the timing relationship of requests](#display-the-timing-relationship-of-requests)
5662
* [Display a preview of a response body](#display-a-preview-of-a-response-body)
5763
* [Display a response body](#display-a-response-body)
5864
* [Display HTTP headers](#display-http-headers)
5965
* [Display query string parameters](#display-query-string-parameters)
66+
* [Display URL-encoded query string parameters](#display-url-encoded-query-string-parameters)
6067
* [Display cookies](#display-cookies)
6168
* [Display the timing breakdown of a request](#display-the-timing-breakdown-of-a-request)
69+
* [Preview a timing breakdown](#preview-a-timing-breakdown)
70+
* [Timing breakdown phases explained](#timing-breakdown-phases-explained)
6271
* [Display initiators and dependencies](#display-initiators-and-dependencies)
6372
* [Display load events](#display-load-events)
6473
* [Display the total number of requests](#display-the-total-number-of-requests)
@@ -74,6 +83,7 @@ This article is a feature-driven inventory of the **Network** tool. Use the **N
7483
* [Hide the Filters pane](#hide-the-filters-pane)
7584
* [Big request rows](#big-request-rows)
7685
* [Hide the Overview pane](#hide-the-overview-pane)
86+
* [See also](#see-also)
7787

7888

7989
<!-- ====================================================================== -->
@@ -212,9 +222,17 @@ The **Throttling** dropdown menu:
212222

213223
![The Throttling dropdown menu](./reference-images/throttling-menu.png)
214224

215-
You can choose from different presets, such as Slow 3G or Fast 3G. To add your own custom presets, open the Throttling menu, and select **Custom** > **Add**.
225+
You can choose from different presets, such as:
226+
* **Fast 4G**
227+
* **Slow 4G**
228+
* **3G**
229+
* **Offline**
216230

217-
DevTools displays a warning icon next to the **Network** tool to remind you that throttling is enabled.
231+
To add your own custom presets, click the **Throttling** menu, and then select **Custom** > **Add**.
232+
233+
A warning icon is displayed on the **Network** tool's tab, to remind you that throttling is enabled:
234+
235+
![The Throttled warning icon on the Network tab in the Activity Bar](./reference-images/throttled-icon.png)
218236

219237
See also [Simulate a slower network connection](../network/index.md#simulate-a-slower-network-connection) in _Inspect network activity_.
220238

0 commit comments

Comments
 (0)