W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2011

[whatwg] XHR Level 2: Accurate Speed Measurement

From: Rodger Combs <rodger.combs@gmail.com>
Date: Wed, 23 Nov 2011 18:59:56 -0600
Message-ID: <3617FBFF-47C1-4F37-B977-59063D5346C1@gmail.com>
The UA can poll the state of the down/upload more often, and create a more accurate average using these additional data points. It also has access to lower-level information about the network connection, and possibly knows about throttling placed by either the browser or the OS. On another note, it seems to me that speed estimates could be used widely enough to deserve being implemented natively.

On Nov 23, 2011, at 6:50 PM, Jonas Sicking wrote:

> On Wed, Nov 23, 2011 at 12:12 PM, Rodger Combs <rodger.combs at gmail.com> wrote:
>> Yes, I know about progress events. They're currently convenient for getting the status of the upload or download, but not for getting ETA or speed data. Calculations for these could be done in JS, but the UA could do so more accurately.
> 
> Why can the UA do so more accurately?
> 
> / Jonas
Received on Wednesday, 23 November 2011 16:59:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:09 UTC