Apr 21 2021 10:50 AM - last edited on Apr 22 2021 09:05 AM by MissyQ
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:
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:
The improvements include:
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
|
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
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)
|
When clicked, only one line is highlighted
|
When clicked and the process is collapsed, only one line is highlighted
When clicked and the process is expanded, all the items that share a process are highlighted
|
Since there is only one item in each process, each line will have its own resource usage
|
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
|
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:
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!
Sep 11 2024 12:19 AM - edited Sep 11 2024 12:21 AM
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.