Microsoft Edge Windows Task Manager Improvements

Microsoft

 

Performance is essential to your success, which makes it core to ours. To help ensure the browser doesn’t slow you down, we always keep performance in mind as we continue to improve Microsoft Edge. We’re also working to help you understand how Microsoft Edge is using the resources on your device to deliver fast, efficient web browsing.    

 

Let’s imagine that one day you are browsing the internet and suddenly your computer starts to slow down, your fan turns on and your computer gets hot. You’re not sure what’s causing the issue, so you open Windows Task Manager to try and diagnose the issue. When you open Windows Task Manager, you struggle to understand what is using your browser’s resources, so you find yourself randomly closing tabs in hopes that it will fix your performance issue.

 

Not understanding what is happening on your computer can be a very frustrating situation and we want to improve this experience for you while using Microsoft Edge. With that in mind, we have made improvements to how Microsoft Edge is represented in Windows Task Manager and the changes are now available to insiders who are selfhosting BOTH the Microsoft Edge Dev channel 91.0.852.0 AND the Windows Dev channel 21364. Our goal with these improvements is to allow you to better understand where your resources are going and to help you make educated decisions when you experience a performance issue.

 

Currently, when you open Windows Task Manager and expand Microsoft Edge on the Processes tab, you see a list of processes named Microsoft Edge.

 

This is what it currently looks like:

 

Allison_Pastewka_39-1619026098516.png

 

With the latest improvements to Windows Task Manager, you will now see a detailed view of the Microsoft Edge processes. If you are unfamiliar with Microsoft Edge’s multi-process architecture, you can find an easy to understand explanation here. In this blog post you will learn why Microsoft Edge has multiple processes running, what the purpose of each process is, and the benefits of a multi-process architecture.

 

This is how Microsoft Edge is represented in Windows Task Manager, with the latest improvements:

 

MissyQ_0-1619107483741.png

 

 

The improvements include:

  • For the browser process, GPU process and crashpad process, you will see the process type

        Allison_Pastewka_22-1619025361686.png

       Allison_Pastewka_23-1619025361691.png

       Allison_Pastewka_24-1619025361692.png

  • For the utility, plug-in, and extension processes, you will see the process type and the name of the service, plug-in, or extension

        Allison_Pastewka_25-1619025361694.png

        Allison_Pastewka_26-1619025361695.png

  • For renderer processes:
    • For tabs you will see the word ‘tab’, and the site name and icon (Note: For InPrivate tabs, site name will be removed and icon will updated to a default tab icon)

                 Allison_Pastewka_27-1619025413856.png

                 Allison_Pastewka_28-1619025413858.png

  •         For subframes (typically used for ads), you will see the word ‘subframe’, followed by the subframe’s URL

                Allison_Pastewka_29-1619025413859.png

  • All dedicated workers and service workers will be listed

        Allison_Pastewka_30-1619025461623.png

  

Each line under Microsoft Edge in Windows Task Manager is NOT ALWAYS a separate process. Some processes contain multiple items and will be represented by multiple lines in Windows Task Manager.

There are multiple ways to distinguish which items are in their own process and which items share a process.

 

Single item in process

Multiple items share a process

There is no arrow next to the icon

 

Allison_Pastewka_31-1619025716205.png

 

There is an arrow next to the icon indicating that the item shares a process with other items. At the end of the title, there will also be a number in parentheses indicating how many other items share that process. The arrow can be clicked to expand the process

 

When the process is collapsed, the arrow points to the right and you will only see one of the items in the process

 

Allison_Pastewka_32-1619025716209.png

 

When the process is expanded, the arrow points down and you will see all the items that share a process with that item (items that are revealed once the arrow is clicked will not have an icon next to it)

 

Allison_Pastewka_33-1619025716213.png

When clicked, only one line is highlighted

 

Allison_Pastewka_34-1619025716214.png

 

When clicked and the process is collapsed, only one line is highlighted

 

Allison_Pastewka_35-1619025716215.png

 

When clicked and the process is expanded, all the items that share a process are highlighted

 

Allison_Pastewka_36-1619025716216.png

Since there is only one item in each process, each line will have its own resource usage

 

Allison_Pastewka_37-1619025716217.png

 

Since multiple items share a process, the item that has the arrow next to it will show you the total resource usage for that process. When expanded, the resource usage for the remaining rows will remain blank

 

Allison_Pastewka_38-1619025716219.png

When clicking ‘End Task’, the single row that is highlighted will be closed

When clicking ‘End Task’, all rows that are highlighted when a process is expanded will be closed. You can only close processes, not individual items in Windows Task Manager

 

When ending tasks, depending on the process that you are ending, you will see different behaviors. A few examples of what you may see are:

  • Browser process: All processes related to that instance of Microsoft Edge will close.
  • GPU process, utility processes: Processes will close and restart. When the processes close, you may see a brief change in your Microsoft Edge window. For example, when the GPU process is closed, your Microsoft Edge window will briefly go black and will return to normal once the process is restarted and when the audio utility process is closed, if you are listening to music, your audio will briefly stop and will return to normal once the process is restarted.
  • Renderer processes: Process will close. If the process contains tabs, all the tabs in the process will be replaced with an error page saying, “This page is having a problem.” If the process contains subframes, the visible subframes will be replaced with a crashed tab icon. For invisible subframes, you likely won’t see a difference, but the page may be affected in some way.
  • Extension and plug-in processes: A balloon will appear in the bottom right-hand corner of your screen saying the extension or plug-in has crashed and will ask you if you would like to reload the extension or plug-in.
  • Crashpad processes: Process will close. Crashes in Microsoft Edge may be reported by other means.
  • Dedicated workers/service workers: Functionality of a tab may break.

 

If you are familiar with the Task Manager in Microsoft Edge, which can be opened by pressing Shift+Esc while in Microsoft Edge or by going to the top corner of the browser and selecting Settings and more (…) More tools > Browser task manager, you will see that the improvements made to Windows Task Manager look similar. We wanted to provide the same level of detail in Windows Task Manager as we do in Browser Task Manager to help you better understand where your resources are going and to help you make educated decisions when you experience a performance issue. One thing to note is that Windows Task Manager shows a different memory value than Browser Task Manager. If you want to learn more about what each value represents, we explain this in detail in the blog post How to investigate Microsoft Edge’s memory usage on Windows and if you are generally interested in learning more about how your browser manages memory, you can learn more here.

 

The changes are currently available to insiders who are selfhosting BOTH the Microsoft Edge Dev channel 91.0.852.0 AND the Windows Dev channel 21364. If you are interested in trying out the improvements and you are not a Windows Insider, you can sign up to become one here and you can find the official Windows announcement here.

 

We would love to hear about your experience troubleshooting Microsoft Edge with the improvements made to Windows Task Manager. If you would like to share your experience/feedback, you can do so by right clicking anywhere on Microsoft Edge in Windows Task Manager and then clicking ‘Provide Feedback’. This button will launch the Windows Feedback Hub. You can also submit feedback directly through Microsoft Edge by going to Settings and more … > Help and feedback > Send feedback or by pressing Shift+Alt+I on a Windows device after you’ve clicked on your browser window.

We hope you enjoy these improvements and look forward to hearing from you!

20 Replies

Please try to avoid writing in CAPS, as this is understood as shouting a per digital netiquette.

 

Microsoft Copilot in Edge Browser answered:


A **service worker** is a script that your browser runs in the background, separate from a web page. It helps manage things like caching and background tasks to make web apps work better, even offline.

When you see a service worker process for the YouTube Music app in your Task Manager, it means that this script is running to handle tasks like:
- **Caching music and other resources** so they load faster.
- **Managing notifications** and background updates.
- **Handling offline access**, so you can still use the app without an internet connection.

In simple terms, the service worker helps the YouTube Music app run more smoothly and efficiently by taking care of these background tasks. If you notice it in Task Manager, it's just doing its job to improve your experience with the app⁴.

Quelle: Unterhaltung mit Copilot, 11.9.2024
(1) High CPU usage because of service worker (sw.js). https://techcommunity.microsoft.com/t5/discussions/high-cpu-usage-because-of-service-worker-sw-js/td....
(2) Introduction to Service Workers - YouTube. https://www.youtube.com/watch?v=jVfXiv03y5c.
(3) Introduction to Service Worker - Progressive Web App Training. https://www.youtube.com/watch?v=wEPeaJgbIxQ.
(4) Intro To Service Workers & Caching. https://www.youtube.com/watch?v=ksXwaWHCW6k.
(5) What is a Service Worker? An Explanation - YouTube. https://www.youtube.com/watch?v=hdohkzjfKq4.