قالب وردپرس درنا توس
Home / Tips and Tricks / Freezing tabs in Chrome saves CPU and battery

Freezing tabs in Chrome saves CPU and battery



  Close-up of the Google Chrome logo.

Google is working on a new feature to freeze tabs for Chrome that will freeze (freeze) unused tabs. This means lower CPU usage, a faster browser and longer battery life on a laptop or convertible.

The Problem: Too Many Tabs

If you had only ever opened one tab, Chrome would only need to render one webpage at a time. But you probably have more. Even if you do not use it, every tab you open in Chrome will have an open webpage. This website uses system memory. All scripts and other active content continue to run, which means that the Web page can use CPU resources in the background.

In a sense, this is good: even if you switch between tabs, a tab can resume audio or audio playback. Upstream in the background. If you go back there, you do not have to wait for the website to reload ̵

1; it's a moment.

But it can be bad. Having a large number of tabs open – or just a small number of tabs with bulky webpages – can add a wealth of system resources, increase memory, take CPU cycles, reduce the responsiveness of Chrome, and reduce the burden on your resources Battery. That's why Chrome engineers have created Disc Discarding and now Tab Freezing. These are related functions, but perform different tasks in different situations.

How to Clear Tabs Saves Memory

 The Chrome tab bar opens a large number of tabs.

Deleting tabs has been added This is a "memory-saving" feature, as Google puts it. In short, if your computer runs out of memory, Chrome will automatically discard the content of the uninteresting tabs. Chrome does not automatically discard a tab when you interact with it, but this background tab, which you have not interacted with in hours, is a primary goal.

Discarding the contents of a tab removes it from your system's memory. and the state is saved to disk. Nothing changes in the Chrome interface. The tab appears in the tab bar and looks normal. However, if you click and switch to it, Chrome takes a moment to quickly reload the page and return to its original location.

Because of this slight delay, Chrome only deletes the tab if your system's memory is adequate. It's good to use the memory for caching. However, it's better to automatically discard a tab and quickly reopen it than forcing Chrome users to manually bookmark and close tabs.

When a tab is dropped, its process actually disappears from Chrome's built-in task manager and you will not see it memory that Chrome no longer uses. Clicking to reload it will restart it.

How Freezing Tabs Saves Your CPU (and Battery)

Freezing tabs is different than deleting tabs. When a tab is frozen, its contents remain in the memory of your system. However, the contents of the tab are "frozen". The web page on the tab can not use the CPU or take actions in the background. For example, suppose there is an extensive web page open in a tab that is constantly scripting. After a while, Chrome will automatically "freeze" it and prevent it from taking any action until you interact with it again. These are the basics, and Google will probably explain in more detail how this works soon.

Freezing tabs is an experimental feature. It's built into the latest stable versions of Chrome 77, but it can only be started manually. In Chrome Canary builds on the upcoming Chrome 79, Chrome Tabs can auto-freeze like automatically discard.

Chrome Canary has several options for freezing tabs when you switch to chrome: / / flags and look for "Tab Freeze". With this option turned on, Chrome automatically freezes "legitimate" tabs after being in the background for five minutes. Depending on which option you choose, Chrome can either freeze it for fifteen minutes or free it for ten seconds – just enough time to sync it to a server or do some work if necessary. Google is clearly testing which option is best.

 Chrome Canary's options for freezing tabs.

Although tab freezing is an experimental feature, it will almost certainly come to stable versions of Chrome soon – in any form, at least. The options in Chrome Canary were discovered by TechDows.

How to Play Freeze (and Discard) Tabs Today

With the current stable version of Chrome, you can play both functions if you want to know how they work. Just type chrome: // discards into Chrome's Omnibox and press Enter.

You will see a diagnostics page with a list of your open tabs and whether they can be frozen or deleted. On the right side you will see action links to the "Freeze" and "Discard" tabs.

 Chrome's internal Chrome: // Discards page.

You can test them out to see the difference yourself. For example, if you start YouTube and start playing a video, clicking "Freeze" will pause the video for that tab, but the contents of the YouTube tab will not be removed from Task Manager's store. If you click Discard instead, the video will stop and the contents of the tab will be removed from memory. When you open the Chrome Task Manager, it disappears. When you click Load, the contents of the tab are reloaded into memory.

Why discarding and freezing is so useful

In other words, when your system's memory becomes full, Chrome discards tabs that you do not use to free up disk space. If you click on the tab, they are automatically reloaded. However, the page loads for a fraction of a second. Chrome does not have to clear any tabs as long as you have enough memory. Chrome uses this memory as a cache instead of leaving it empty. This speeds up the work.

But even if you have a lot of memory, Chrome will soon be investigating the freezing of tabs that you do not interact with to save CPU time and battery power. This can cause Chrome and the other applications running on your system to be more responsive. It still keeps it in memory. So if you reactivate a frozen tab by toggling, the web page on the tab can be used as soon as possible.

If Chrome needs to free up space, this is required. A frozen tab may be dropped. However, you can not freeze a dropped tab: it has already been removed from memory and is not really open so no action can be taken in the background.

Now that the upcoming version of Microsoft Edge is based on Chromium, Google's work on Chrome will also improve the standard Windows 10 web browser. Expect future versions of Edge to automatically freeze tabs as well.


Source link