Forum Discussion
Introducing Sleeping Tabs Experiment: Improving Memory Usage in Microsoft Edge
Note: We are in the process of deploying this feature, so it may be a little while before you see it in your respective channel and build.
To improve memory and CPU utilization of the browser, we've developed a feature called sleeping tabs.
Early internal testing of devices with sleeping tabs has shown a median memory usage reduction of 26% for Microsoft Edge. Our internal testing has also shown that a normal background tab uses 29% more CPU for Microsoft Edge than a sleeping tab. These resource savings should result in excellent battery savings. Although individual device performance varies depending on configuration and usage, we expect the decrease in resource and battery usage to create a better browsing experience for users.
Median memory usage of Microsoft Edge based on performance data aggregated across ~13000 devices
Average CPU usage of Microsoft Edge based on performance data aggregated across ~13000 devices
Sleeping tabs builds upon the core of Chromium’s “freezing” technology. Freezing pauses a tab’s script timers to minimize resource usage. A sleeping tab resumes automatically when clicked, which is different than discarded tabs, which require the page to fully be reloaded.
We built upon the freezing technology to create sleeping tabs. This feature allows inactive background tabs to “go to sleep,” releasing system resources after a set amount of time. These resources include both memory and CPU and can be used for new or existing tabs or other applications running on your device.
By default, we’ve set tabs to go to sleep after two hours of inactivity. If two hours isn’t right for you, you can choose a different time interval in edge://settings/system. Tabs that are asleep will fade to let you know they’ve released resources. To resume a sleeping tab, click on it like a normal tab. The tab will un-fade and your content will be there immediately. You can also add sites you never want to sleep to a block list in Settings.
With this technology, it is possible that some sites may not work as expected after they go to sleep. We have built heuristics to detect these scenarios and prevent those tabs from sleeping to keep you in your flow. We are eager to get your feedback on sleeping tabs. If you experience a compat issue, please refresh the page and let us know through Microsoft Edge by pressing Shift+Alt+I on a Windows device or going to Settings and more … > Help and feedback > Send feedback.
Sleeping tabs will be coming soon to Canary and Dev Channels [87.0.649.0]. If you see the sleeping tabs feature while browsing, please join us here on the Microsoft Edge Insider forums or Twitter to discuss your experience, or send us your feedback through the browser! If you have any questions, see our FAQ or reach out to us. We hope you enjoy this exciting new feature and look forward to hearing from you!
- The Microsoft Edge Product Team
214 Replies
- NOZLA61590401Copper ContributorWhen sleep tap is introduced in a device the time should also be set according to your work load. It improve the memory use and protect the device or your UCP. When it sleeps you just click on your device and your documents will be as it is before. this shows that is it the import tab to use in your settings.
- UCP? do you mean UPS? (Uninterruptible Power Supply)
- NOZLA61590401Copper Contributor
Sleeping tabs does not improve memory usage
- Eneitilyn__Copper Contributor
I just wanted to say for any conventional high PC this feature seems like minor performance fix! But for my Ages old Laptop with ultra low specs compared to this day this is close to 80% performance increase in browsing experience! Which says a lot about how effective feature this is especially since I am one of those people that almost never closes his tabs and hogs them all up there because I deem all of them necessary! This is great I find great results also I Don't know if this is part of the feature but I noticed pretty big performance increase when minimizing the browser too it reached 0% CPU usage also similar big margin CPU decrease by simply having a lot of tabs too! Compared to some other browsers I remember that keep stuff in background loaded even if its not in use especially extensions type stuff.
- WZC123Copper Contributor
Hi! Do we need to click something to let the tap go into sleep mode or it automatically go into sleep mode?
- Aditya_MohapatraBrass Contributor
Excellent feature so far. I've done a lot of testing on different websites and am noticing from minor to some serious compatibility issues. I will keep providing feedback on Sleeping Tabs through Edge Feedback. Just be sure to build upon those feedbacks so this feature can soon be trusted by everyone and used regularly for most sites to save Memory and CPU Usage.
"Excellent feature so far. I've done a lot of testing on different websites and am noticing from minor to some serious compatibility issues. I will keep providing feedback on Sleeping Tabs through Edge Feedback. Just be sure to build upon those feedbacks so this feature can soon be trusted by everyone and used regularly for most sites to save Memory and CPU Usage."
curious to know about those "serious" issues you are talking about.
- meme675Copper Contributor
I don't like them at all. Please return to previous!!
- "I don't like them at all. Please return to previous!! "
don't like what exactly? there is no previous state to return to, sleeping tabs feature is one of its kind.
- Allen-XCopper Contributor
Thanks
I wish Edge can do it:
First, Mark it when it sleeping
Second, I can setting it by myself, such as one or three mins , not choose someone in many choices.
- Grant_BoucherCopper Contributor
The sleeping tabs do not free up VRAM on the GPU. That resource is far more constrained on modern computers than RAM. As such, this feature serves no meaningful purpose for me, unfortunately. 😞
- ReidMcTCopper Contributor
Eleanor_Huynh Anything that reduces energy waste is a good thing, regardless of performance improvements. Thanks!!
- DugTanBrass Contributor
This is a great feature. I would like to know if it will be enabled by default when V88 goes to stable. Also for this feature and others (e.g. startup settings etc..) enterprises need a way to set a recommended setting after installation/launch. For example I want the default to be enabled with 30 minutes and I want the user to be able to disable the setting or change the sleep time per their preference. This is not possible as far as I can tell. We can only enforce it or set recommended setting for browser that has never been launched.