Sep 23 2020 03:08 PM - edited Apr 12 2021 02:37 PM
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.
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
Apr 23 2021 06:50 AM
It was amazing !
But I suggest these things:
- option to add site to whitelist from the same page or right click on tab. Now only could add whitelist site in edge://settings/system
- set option to don't or do suspend (on/off) to sound/video playing tabs
- quick option to change suspend time, or disable it quickly
best regards !!
Apr 24 2021 09:43 AM
Apr 25 2021 01:40 AM
Apr 27 2021 01:22 PM
May 01 2021 12:04 PM
May 02 2021 04:13 AM
May 02 2021 04:37 AM
May 03 2021 02:29 AM
@sungtroll wrote:
This post has got 213 000 views. I guess microsoft dont read it. All answers made here are posted by people not working on this project so posting here is pointless if you someone wants to report bugs and suggestions and get answers from Microsoft.
Can't say they don't read it, they're not gonna post every time in the comments that "ok we read this".
also the the number of views doesn't mean unique visitors. whenever you refresh the page, it counts as a view.
May 13 2021 06:50 AM
May 19 2021 11:47 AM
Ok, I know broken record here, but;
Sleeping Tabs;
Ok, so this new "Optimize Performance mode" is all well and good, but I would still love the have "Immediately" as a choice. I open lots of tabs all at once every day, and having to wait even 5 minutes can be a drag. Please, I don't know what it will hurt, or why this seems to be a problem but can you add "immediately" as a choice in your selections list of times?
Thanks
Dennis5mile
May 20 2021 07:10 AM
May 28 2021 02:28 AM
I personally don't like the feature. I would like to reduce consumption, that's a wonderful thing because I usually have a lot of tabs open. But when I open a tab again. It seems to reload. Not sure whether it has to do with this feature or not but I assume.
This is very annoying if you are forced to work with online programs, e.g. writing documentation, etc. Then you must move to another tab, or program to test, verifiy, read something and want to go back to where you left off. But suddenly the page reloads, deleting your last couple of sentences.
And no, it's not that I should have saved, it is a paragraph, and honestly, who saves after each sentence they write?!
Would be nice if the feature just opened the last state the page had, without reload. If I want to reload, I click reload. But don't force the tab to do it. If this is part of the feature, well then I assume, I have do deactivate it because i don't like it, or maybe the exceptions are sufficient.
May 28 2021 02:43 AM
May 28 2021 03:35 AM
Well Simon seems like you r quick to speak without introspecting.
The site you wish to exclude from going to sleep can be added in settings. Just search 'sleeping' and you will find what i mean.
sleeping tab in it self is meant to reload as when it is put to sleep the site data is removed from your RAM and only reloading can let you open the site. If you want to know why this happens, it is because the promised "performance improvement" cannot happen without reducing the load of the RAM.
Next time properly read the article you are commenting on.
May 28 2021 02:09 PM
@simonschoenig let's see if I understand you correctly: When you click on the tab up in the toolbar, it automatically re-loads the tab? If that is what you are saying, I agree, that is somewhat annoying. The tab suspender for FF does not re-load the tab when you click on it up in the toolbar, but it waits until you actually click somewhere on the page itself. That same feature would be nice for Edge sleeping tabs.