MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
chrome
Recherche

Google Updates Chrome To Match Safari Battery Life On M2 MacBook Pro

mercredi 1 mars 2023, 00:20 , par Slashdot
After widely rolling out an Energy Saver mode, Google has made four optimizations to Chrome for Mac that allows the browser to match the battery life you get when using Safari. 9to5Google reports: Google conducted testing on a MacBook Pro (13', M2, 2022 with 8 GB RAM running macOS Ventura 13.2.1) with Chrome 110.0.5481.100 in February of 2023. It showed that you can 'browse for 17 hours or watch YouTube for 18 hours.' For comparison, Apple touts up to 17 hours of wireless web browsing, and up to 20 hours Apple TV app movie playback. Meanwhile, Google uses this open-source benchmarking suite to run tests, and says that users will also 'see performance gains on older models.' Four changes from waking the CPU less often to tuning memory compression are specifically credited:

- Eliminating unnecessary redraws: 'We navigated on real-world sites with a bot and identified Document Object Model (DOM) change patterns that don't affect pixels on the screen. We modified Chrome to detect those early and bypass the unnecessary style, layout, paint, raster and gpu steps. We implemented similar optimizations for changes to the Chrome UI.'

- Fine tuning iframes: '...we fine-tuned the garbage collection and memory compression heuristics for recently created iframes. This results in less energy consumed to reduce short-term memory usage (without impact on long-term memory usage).'

- Tweaking timers: '...Javascript timers still drive a large proportion of a Web page's power consumption. As a result, we tweaked the way they fire in Chrome to let the CPU wake up less often. Similarly, we identified opportunities to cancel internal timers when they're no longer needed, reducing the number of times that the CPU is woken up.'

- Streamlining data structures: 'We identified data structures in which there were frequent accesses with the same key and optimized their access pattern.'

Read more of this story at Slashdot.
https://hardware.slashdot.org/story/23/02/28/2221256/google-updates-chrome-to-match-safari-battery-l...
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Date Actuelle
ven. 29 mars - 11:26 CET