- #Mac os safari vs chrome movie#
- #Mac os safari vs chrome software#
- #Mac os safari vs chrome code#
- #Mac os safari vs chrome series#
To compare against idle state, there was an idle period of 60 seconds before and after playing the video in both scenarios. This gave us the following test matrix: Player I also tested Chrome in software-decode mode by forcing the hardware VP9 decoder off using the Chrome flag at chrome://flags/#videotoolbox-vp9-decoding. Therefore the video is played using the software-based decoder. VLC currently cannot use the hardware VP9 decoder. I included the VLC player in this test to compare against the local playback.
I tested the following video - “Japan in 8K” - while streaming from YouTube in Safari, Chrome browsers and local file in VLC player.
#Mac os safari vs chrome code#
If you’re interested in exploring the code that was used to parse the logs, visit the following Github repo Total power consumption of the M1 chip including the CPU, GPU, DRAM and other components like Thunderbolt and SSD controller, media decoding engines, ISP, Secure Enclave etc.įor an overview of the M1 architecture, see Apple’s official product page and the press release. Total power consumption of the 4 high-performance cores Total power consumption of the 4 high-efficiency cores For our purpose, I extracted the following fields: Extracted Field I wrote a custom Python script to parse out these logs and plot the graphs below. Sudo powermetrics -i 1000 -samplers cpu_power,gpu_power -a -hide-cpu-duty-cycle -show-usage-summary -show-extra-power-info -u ~/powerlogs.txt It is most useful for getting CPU, GPU and wakeup measurements in a precise and easily scriptable fashion (unlike Activity Monitor and top)īelow is a sample log from powermetrics output after running the following command: powermetrics is a Mac-only command-line utility that provides many high-quality power-related measurements. Power Consumption was measured using Apple’s powermetrics utility.
#Mac os safari vs chrome software#
Testing Methodology # Software & Hardware #
The lower the power consumption, the longer your battery will last ( if you’re not connected to the charger). This Part 1 focuses on one of the most critical Pandemic activities - streaming a video from YouTube or Netflix.
#Mac os safari vs chrome series#
This blog is Part 1 of a multi-part series of investigations into the actual power these M1 chips consume in some of the most common scenarios. Highlighted components are dedicated to low-power video playback Decoding video using a chip built for the sole purpose of decoding video can dramatically affect power consumption, as you will see later in this blog.Īpple M1 block diagram. These are made possible because of Apple’s focus on low-power design and decoding video using specialized hardware engines rather than relying on the general-purpose CPU. These battery life advances are massive and typically once-in-a-generation improvements.
#Mac os safari vs chrome movie#
While unveiling the M1 chip, Apple touted the new M1-based MacBook Air and MacBook Pro’s energy efficiency with up to 18 hours and 20 hours of movie playback, 6 and 10 hours more than previous models.Īpple M1 MacBook Pro and MacBook Air battery video playback numbers was the stupendous battery life offered by the new M1-based MacBooks. One of the themes of my previous Apple Silicon M1 article - Apple Silicon M1: Black.