W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

[WebTiming] Exporting flattened DOMTiming data

From: Zhiheng Wang <zhihengw@google.com>
Date: Tue, 27 Apr 2010 13:07:17 +0800
Message-ID: <w2z802863261004262207x7c922d8co72f7e13f8831ae9e@mail.gmail.com>
To: public-webapps@w3.org
   Discussions with several browser developers suggest exporting a flattened
data structure containing
all the DOMTiming objects on the page. Doing so allows site developers to
send the all the timing information
back for analysis without travelling the entire DOM tree. It helps minimize
the observer effect of the client
side instrumentations.

  The current proposal is to add an additional interface to the
WebTiming<http://dev.w3.org/2006/webapi/WebTiming/>draft that exports
this block of
timing data, including the url, type and probably id associated with each
DOMTiming object. The implementation
details are mostly left to UAs at this time.

  Another question is should this flattened data contain only DOMTiming
objects currently in the DOM or all those
ever exist since the page starts. My preference is the first case but it's
up to debate.

  I imagine this to be a rather significant change in terms of UA
implementations so I would like to bring
this up for discussion.

cheers,
Zhiheng
Received on Tuesday, 27 April 2010 05:07:48 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:38 GMT