Google announced yesterday that it has implemented several improvements in the company's Chrome web browser that improve how the browser renders content.
While improvements in raw speed are always good, there is only so much you can do about that. This is why Google started to look at other methods to improve performance of Chrome.
One improvement that Google mentions in the article changes how Chrome handles redraws of pages. The browser identifies areas of the page that have not changed, and those that have changed. Anything that has not changed is copied which speeds up the operation.
Performance can take a hit when pages are very dynamic. Google's optimization has Chrome track draw commands, and enables the browser to identify elements that have not been modified. It can then copy the entire thing from cache, which, according to Google, may speed up the painting of a new frame by up to 35%.
The article describes a second optimization method in which Google Chrome copies tiles from previous frames, to only update specific pixels in that tile afterwards to speed up the time it takes to redraw.
This new method reduces the tile redraw time by up to 40% according to the company.
This sounds all good and great, but Google fails to mention that the second method is not supported by all operating systems, and even architectures.
If you follow the link to Intel's blog post about the new zero-copy feature, you will learn that the feature is only enabled by default on Chrome OS. The article dates back to March 2016 though but Google gives no indication on the version of Chrome, nor the operating systems it is enabled on by default.
Zero Copy Tile Update Mode
To check whether the new Zero Copy mode is available on your device, do the following:
- Load chrome://gpu in the browser's address bar.
- Under Graphics Feature Status, check if Native GpuMemoryBuffers is enabled. If it is not, e.g. Software Only, then you cannot make use of that right now.
- Under Compositor Information, check if Tile Update Mode is set to Zero-copy.
If only Tile Update Mode is not set correctly, the default is set to One-copy, then you may enable the feature in the following way:
- Load chrome://flags/#enable-zero-copy in Chrome's address bar.
- The flag Zero-copy rasterizer enables the feature in Chrome when you set it to enabled.
- Restart Chrome after making the change, and check the chrome://gpu page again afterwards. IT should show zero-copy there.
A couple of things are unclear after reading Google's blog post. First, the company does not mention the Chrome version, or operating systems the new features are available for.
There is also no mentioning of whether the new zero-copy feature is an Intel only feature, or available for non-Intel processors as well.
Now You: What's your take on the announcement?