Skip to content

Commit 587e8ef

Browse files
leahmsftmikehoffms
andauthored
New article: "What's New in DevTools (Microsoft Edge 140)" (#3568)
* first draft * nit * toc * trim links * update desc * add screenshot * png * Delete invalidation-count-col.png * not we * see also * (slow) label * gearbox * group paragraphs * CSS selectors * that are * , * DOM nodes * update screenshot * replace png --------- Co-authored-by: Michael Hoffman <[email protected]>
1 parent fae99a7 commit 587e8ef

File tree

10 files changed

+65
-21
lines changed

10 files changed

+65
-21
lines changed

microsoft-edge/devtools/performance/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ To view the statistics of your CSS rule selectors during long-running **Recalcul
237237

238238
1. Click the **Capture settings** (![Capture settings](./reference-images/capture-settings-icon.png)) button. See [Show recording settings](#show-recording-settings), above.
239239

240-
1. Select the **Enable CSS selector stats** checkbox.
240+
1. Select the **Enable CSS selector stats (slow)** checkbox.
241241

242242
For details, see [Analyze CSS selector performance during Recalculate Style events](./selector-stats.md).
243243

microsoft-edge/devtools/performance/selector-stats.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ CSS styles need to be recalculated whenever the applicability of CSS rules may h
3030
<!-- ====================================================================== -->
3131
## Record a performance trace with Selector Stats enabled
3232

33-
To view the statistics of your CSS rule selectors during long-running **Recalculate Style** events, first record a performance trace with the Selector Stats feature enabled. You enable the Selector Stats feature by selecting the **Enable CSS selector stats** checkbox, which displays the **Selector Stats** tab.
33+
To view the statistics of your CSS rule selectors during long-running **Recalculate Style** events, first record a performance trace with the Selector Stats feature enabled. You enable the Selector Stats feature by selecting the **Enable CSS selector stats (slow)** checkbox, which displays the **Selector stats** tab.
3434

3535
The Selector Stats feature isn't always enabled, because it adds more overhead to your performance recordings. You should only leave it turned on when you need to investigate the performance of **Recalculate Style** events and other rendering information.
3636

@@ -44,7 +44,7 @@ To record a performance trace with selector statistics:
4444

4545
1. In the **Performance** tool, click the **Capture settings** (![Capture settings icon](./selector-stats-images/capture-settings-icon.png)) button.
4646

47-
1. Select the **Enable CSS selector stats** checkbox:
47+
1. Select the **Enable CSS selector stats (slow)** checkbox:
4848

4949
![The "Enable CSS selector stats" checkbox in the Performance tool](./selector-stats-images/enable-feature.png)
5050

@@ -83,7 +83,7 @@ The **Selector Stats** tab in the **Performance** tool contains a table of CSS s
8383
| **Selector** | The CSS selector that was matched. |
8484
| **Style Sheet** | The CSS style sheet that contains the CSS selector. |
8585

86-
When finished, in the **Performance** tool, click the **Capture settings** (![Capture settings icon](./selector-stats-images/capture-settings-icon.png)) button, and then clear the **Enable CSS selector stats** checkbox.
86+
When finished, in the **Performance** tool, click the **Capture settings** (![Capture settings icon](./selector-stats-images/capture-settings-icon.png)) button, and then clear the **Enable CSS selector stats (slow)** checkbox.
8787

8888

8989
<!-- ====================================================================== -->
@@ -105,7 +105,7 @@ To view aggregate statistics of the CSS rule selectors that are involved in mult
105105

106106
1. Repeat the previous steps with the other **Recalculate Style** events you're interested in.
107107

108-
When finished, in the **Performance** tool, click the **Capture settings** (![Capture settings icon](./selector-stats-images/capture-settings-icon.png)) button, and then clear the **Enable CSS selector stats** checkbox.
108+
When finished, in the **Performance** tool, click the **Capture settings** (![Capture settings icon](./selector-stats-images/capture-settings-icon.png)) button, and then clear the **Enable CSS selector stats (slow)** checkbox.
109109

110110

111111
<!-- ====================================================================== -->
@@ -123,7 +123,7 @@ To view aggregate statistics of the CSS rule selectors that are involved in the
123123

124124
![The Selector Stats table for the full recording](./selector-stats-images/full-recording.png)
125125

126-
When finished, in the **Performance** tool, click the **Capture settings** (![Capture settings icon](./selector-stats-images/capture-settings-icon.png)) button, and then clear the **Enable CSS selector stats** checkbox.
126+
When finished, in the **Performance** tool, click the **Capture settings** (![Capture settings icon](./selector-stats-images/capture-settings-icon.png)) button, and then clear the **Enable CSS selector stats (slow)** checkbox.
127127

128128

129129
<!-- ====================================================================== -->

microsoft-edge/devtools/whats-new/2024/05/devtools-125.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ todo video
2626

2727
<!-- Subtitle: Use the "Enable CSS selector stats" setting instead of the "Enable advanced rendering instrumentation (slow)" to capture CSS selector statistics for Recalculate Style events-->
2828

29-
In the **Performance** tool, the **Enable advanced rendering instrumentation (slow)** checkbox has been replaced by the **Enable CSS selector stats** checkbox. This checkbox controls the CSS selector statistics feature.
29+
In the **Performance** tool, the **Enable advanced rendering instrumentation (slow)** checkbox has been replaced by the **Enable CSS selector stats** checkbox. (Update: As of Edge 140, the checkbox label is **Enable CSS selector stats (slow)**, and the checkboxes are on the right.) This checkbox controls the CSS selector statistics feature.
3030

3131
![Selector stats tab](./devtools-125-images/selector-stats.png)
3232

microsoft-edge/devtools/whats-new/2025/05/devtools-136.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: What's New in DevTools (Microsoft Edge 136)
3-
description: "DOM tree in Elements tool highlights semantic errors. And more."
3+
description: DOM tree in Elements tool highlights semantic errors. And more. # key words before col 158
44
author: MSEdgeTeam
55
ms.author: msedgedevrel
66
ms.topic: conceptual

microsoft-edge/devtools/whats-new/2025/06/devtools-137.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: What's New in DevTools (Microsoft Edge 137)
3-
description: "The Enable settings sync checkbox lets you sync your DevTools settings across devices. And more."
3+
description: The Enable settings sync checkbox lets you sync your DevTools settings across devices. And more. # key words before col 158
44
author: MSEdgeTeam
55
ms.author: msedgedevrel
66
ms.topic: conceptual

microsoft-edge/devtools/whats-new/2025/08/devtools-139.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: What's New in DevTools (Microsoft Edge 139)
3-
description: Added request headers to the table in the Network tool. And more.
3+
description: Added request headers to the table in the Network tool. And more. # key words before col 158
44
author: MSEdgeTeam
55
ms.author: msedgedevrel
66
ms.topic: conceptual
716 KB
Loading
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: What's New in DevTools (Microsoft Edge 140)
3+
description: Invalidation count in CSS selector stats, in the Performance tool. Emulate the 'Save-Data' header in Network conditions. And more. # key words before col 158
4+
author: MSEdgeTeam
5+
ms.author: msedgedevrel
6+
ms.topic: conceptual
7+
ms.service: microsoft-edge
8+
ms.subservice: devtools
9+
ms.date: 09/04/2025
10+
---
11+
# What's New in DevTools (Microsoft Edge 140)
12+
13+
These are the latest features in the Stable release of Microsoft Edge DevTools.
14+
15+
16+
<!-- ====================================================================== -->
17+
## Invalidation count in CSS selector stats
18+
19+
<!-- Subtitle: Identify expensive selectors with the new column in CSS selector stats (Performance tool) to reduce costly style recalculations. -->
20+
21+
In the **Performance** tool, the CSS **Selector stats** tab's table has a new column: **Invalidation count**. The **Invalidation count** column shows an aggregated count of DOM nodes that are matched by a CSS selector that were invalidated and had their style recalculated. A DOM node can be invalidated multiple times, by multiple CSS selectors.
22+
23+
During a recalculate style event, the browser may invalidate many DOM nodes, based on a given CSS selector. Inefficient CSS selectors can impact your webpage's performance. If you have high style-recalculation costs, that might be caused by over-invalidation. You can use this new insight to identify CSS selectors that have a high invalidation count, and reduce over-invalidation by refining your CSS style rules.
24+
25+
![Invalidation count column in CSS Selector stats tab's table](./devtools-140-images/selector-stats-invalidations.png)
26+
27+
See also:
28+
* [Analyze CSS selector performance during Recalculate Style events](../../../performance/selector-stats.md)
29+
30+
31+
<!-- ====================================================================== -->
32+
## Announcements from the Chromium project
33+
<!-- https://developer.chrome.com/blog/new-in-devtools-140 -->
34+
35+
Microsoft Edge 140 also includes the following updates from the Chromium project:
36+
37+
* [Emulate the 'Save-Data' header in 'Network conditions'](https://developer.chrome.com/blog/new-in-devtools-140#save-data)
38+
* [See the Baseline status in a CSS property tooltip](https://developer.chrome.com/blog/new-in-devtools-140#baseline-tooltip)
39+
* [Override form factors in user agent client hints](https://developer.chrome.com/blog/new-in-devtools-140#form-factors)
40+
41+
42+
<!-- ====================================================================== -->
43+
## See also
44+
45+
* [What's New in Microsoft Edge DevTools](../../whats-new.md)
46+
* [Release notes for Microsoft Edge web platform](../../../../web-platform/release-notes/index.md)

microsoft-edge/toc.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@
105105
href: ./devtools/whats-new/whats-new.md
106106
displayName: release notes, announcements
107107
# latest 10 What's New
108+
- name: Microsoft Edge 140
109+
href: ./devtools/whats-new/2025/09/devtools-140.md
110+
displayName: What's New in DevTools (Microsoft Edge 140) # page title
111+
108112
- name: Microsoft Edge 139
109113
href: ./devtools/whats-new/2025/08/devtools-139.md
110114
displayName: What's New in DevTools (Microsoft Edge 139) # page title
@@ -141,16 +145,16 @@
141145
href: ./devtools/whats-new/2024/11/devtools-131.md
142146
displayName: What's New in DevTools (Microsoft Edge 131) # page title
143147

144-
- name: Microsoft Edge 130
145-
href: ./devtools/whats-new/2024/10/devtools-130.md
146-
displayName: What's New in DevTools (Microsoft Edge 130) # page title
147-
148148
# keep 10 items above
149149
- name: Archive
150150
items:
151151
- name: What's New in DevTools archive
152152
href: ./devtools/whats-new/whats-new-archive.md
153153

154+
- name: Microsoft Edge 130
155+
href: ./devtools/whats-new/2024/10/devtools-130.md
156+
displayName: What's New in DevTools (Microsoft Edge 130) # page title
157+
154158
- name: Microsoft Edge 129
155159
href: ./devtools/whats-new/2024/09/devtools-129.md
156160
displayName: What's New in DevTools (Microsoft Edge 129) # page title

microsoft-edge/web-platform/release-notes/140.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,13 @@ To stay up-to-date and get the latest web platform features, download a preview
5353
<!-- ====================================================================== -->
5454
## Edge DevTools
5555

56-
See [What's New in Microsoft Edge DevTools](../../devtools/whats-new/whats-new.md).
57-
<!-- todo: when it exists in Sep 2025, use instead:
5856
See [What's New in DevTools (Microsoft Edge 140)](../../devtools/whats-new/2025/09/devtools-140.md).
59-
-->
6057

6158

6259
<!-- ====================================================================== -->
6360
## WebView2
6461

65-
See [Release Notes for the WebView2 SDK](../../webview2/release-notes/index.md).
66-
<!-- todo: when exists in Sep 2025, use instead:
67-
See [1.0.n.n](../../webview2/release-notes/index.md#10nnnnnn) in _Release Notes for the WebView2 SDK_ (Sep 2025).
68-
-->
62+
See [1.0.3485.44](../../webview2/release-notes/index.md#10348544) in _Release Notes for the WebView2 SDK_ (Sep. 2025).
6963

7064

7165
<!-- ====================================================================== -->

0 commit comments

Comments
 (0)