Google says it's used Microsoft's PGO technology to make its Chrome browser load pages faster on Windows.
Speed is one way Google can make Chrome more appealing to Windows users in the face of competition from Microsoft's Windows 10 Edge browser.
For its latest effort to make Chrome faster, Google turned to Microsoft's implementation of Profile Guided Optimization (PGO) to cut Chrome's new tab page load times by 14.8 percent, page load times by 5.9 percent, and start-up times by 16.8 percent.
The PGO-based speed improvements are available in 64-bit Chrome on Windows since version 53, which Google released at the end of August, and this week's version 54 for 32-bit Chrome.
PGO is one way to optimize compilers by identifying which functions of a program are less or more frequently executed during runtime.
Developers can build a special version of the app and put it through its paces under common user-interaction scenarios. The results inform how best to optimize the app. The tool is available with Microsoft Visual Studio, which has supported PGO since Microsoft Visual C/C++ 2005.
It's not clear whether this is the first time Google has used the tool to improve Chrome on Windows, but the search firm notes it can be helpful for a software project as large as Chrome, which has more than a million functions in its source code.
Google's optimization process is focused on its nightly Chrome build process, which uses a special version of Chrome to track function usage.
"PGO then optimizes those high-use functions for speed, in some cases increasing the binary size of those functions. To balance out that increase, PGO also optimizes less-used functions with smaller, though slightly slower code. These trade-offs result in higher overall performance, and a smaller overall code footprint," explained Google's Sébastien Marchand.
Google is also working on improving Chrome's power and memory consumption. Chrome 55, due out in December, will have a newly-optimized V8 JavaScript engine that early testing has showed can deliver huge reductions in memory usage.
According to Marchand, PGO-derived memory optimizations are also helping deliver overall performance improvements in Chrome. It does this by moving rarely-used functions away from frequently-used ones.
"This results in more optimal use of the CPU instruction cache by avoiding caching of less-used code, increasing overall performance," said Marchand.
Please visit our website, www.pixotrigames.com, http://pixotritechnologies.com/ to take a look at our current projects and also some of our upcoming games.
No comments:
Post a Comment