- From: Todd Reifsteck <toddreif@microsoft.com>
- Date: Tue, 17 Mar 2015 01:49:39 +0000
- To: Web Performance Working Group <public-web-perf@w3.org>
The following are the ways to query the performance timeline. I used Chrome 41 and Firefox 36 on Windows to check implementations.
performance.timing returns navigation timing. // IMPLEMENTED BY ALL
performance.getEntries() returns all performance timeline entries. // IMPLEMENTED BY ALL
performance.getEntriesByName('document') returns navigation timing. // IMPLEMENTED BY IE. MISSING IN CHROME/FIREFOX
performance.getEntriesByName(<uri>) returns all resource uri's with the specific named uri. (A surprising number of sites seem to download resources twice in an attempt to optimize) // IMPLEMENTED BY ALL
performance.getEntriesByName(<name>) returns all user timings with the name, <name>. // IMPLEMENTED BY CHROME/IE. Performance.mark MISSING IN FIREFOX
performance.getEntriesByType('navigation') returns navigation timing. // IMPLEMENTED BY IE. MISSING IN CHROME/FIREFOX
performance.getEntriesByType('resource') returns resource timings. // IMPLEMENTED BY ALL
performance.getEntriesByType('mark') returns user timings. // IMPLEMENTED BY CHROME/IE. Performance.mark MISSING IN FIREFOX
-----Original Message-----
From: Web Performance Working Group Issue Tracker [mailto:sysbot+tracker@w3.org]
Sent: Wednesday, March 11, 2015 12:35 PM
To: public-web-perf@w3.org
Subject: ACTION-153: Check getentrybytype("navigation-timing") usage
ACTION-153: Check getentrybytype("navigation-timing") usage
http://www.w3.org/2010/webperf/track/actions/153
Assigned to: Todd Reifsteck
Received on Tuesday, 17 March 2015 01:50:09 UTC