+ Post New Thread
Results 1 to 1 of 1
Links Thread, HTML5 vs Flash Video: Battery Performance Analysis in Links, Downloads and Scripts; The conclusion shouldn't be surprising. The HTML5 video element is the new way to display videos online. Before it was ...
  1. #1


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,176
    Thank Post
    235
    Thanked 2,750 Times in 2,026 Posts
    Rep Power
    802

    HTML5 vs Flash Video: Battery Performance Analysis

    The conclusion shouldn't be surprising.

    The HTML5 video element is the new way to display videos online. Before it was standardised, many sites used the Flash plugin to display videos. Several sites (most notably Youtube) now offer both Flash-based and HTML5-based video options. HTML5 is supported in several places where Flash isn't (including Apple's iOS devices), and people often claim that HTML5 uses the battery more efficiently than Flash. However, nobody has ever tried to test this in a lab. This report plans to answer the following question - is HTML5 video really good for your battery? Let's find out, with science.
    To accurately measure the battery draw of a device, you need to physically connect a sensitive probe between the device and its battery. I did this on two devices - a tablet and a laptop. The tablet was the YuanDao (原道) N90, which has a 1 GHz ARM Cortex A8 processor running Android 2.3.1, and the laptop was the Samsung Series 5 Chromebook, which has a 1.66GHz Intel Atom N570 processor running Chrome OS 19.

    For each device, I disconnected the battery from the rest of the device and routed it through a 0.125Ω resistor connected in parallel to a high-sensitivity AP034 probe. I then connected over WiFi to a test page which served the same video via Flash and HTML5. The voltage drop on the probe was sampled 100,000 times per second and stored on a LeCroy deep memory oscilloscope. I then transferred the traces to Matlab for analysis and pretty pictures.

    The battery capacity of a mobile device is usually measured in milliampere-hours (mAh). A 1000mAh battery can supply 1000 milliamperes of current for one hour, 500 milliamperes for two hours, and so on. The graphs you're going to see below show the average current drawn by the device while it is playing the video, starting at the moment I pressed "play" and ending as soon as the movie ended. The lower the current draw, the higher the expected battery life.

    The Samsung Chromebook's battery is rated at 8100 mAh, while the N90's battery is rated at 3200mAh.

    The Results
    As shown in the figures below, HTML5 video is much better for the battery than Flash. Moving from HTML5 to Flash resulted in a 17% rise in current draw (and a corresponding reduction in battery life) on the laptop, and a 12% rise on the tablet. In both cases the HTML5 video was smoother and had less frame skipping than its Flash counterpart.






  2. Thanks to Arthur from:

    Marci (13th May 2013)

SHARE:
+ Post New Thread

Similar Threads

  1. Flash video very choppy Firefox 20 OSX
    By Zoom7000 in forum Mac
    Replies: 5
    Last Post: 25th April 2013, 03:00 PM
  2. [Video] Linux Performance Analysis and Tools
    By Arthur in forum Jokes/Interweb Things
    Replies: 0
    Last Post: 5th March 2013, 11:42 PM
  3. Performance Analysis
    By kiran in forum MIS Systems
    Replies: 1
    Last Post: 24th January 2009, 11:28 AM
  4. Inserting Flash Videos
    By Singist in forum EduGeek Joomla 1.5 Package
    Replies: 6
    Last Post: 7th June 2008, 07:58 AM
  5. Inserting Flash videos
    By SimpleSi in forum EduGeek Joomla 1.0 Package
    Replies: 3
    Last Post: 4th June 2008, 11:01 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •