Performance Timeline (original) (raw)

Abstract

This specification defines an unified interface to store and retrieve performance metric data. This specification does not cover individual performance metric interfaces.

Status of this document

This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.

This is the W3C Recommendation of "Performance Timeline Specification", produced by the Web PerformanceWorking Group. An implementation report produced in August 2013 is available.

No changes were made since the previous publication.

By publishing this Recommendation, W3C expects that the functionality specified in this Performance Timeline Recommendation will not be affected by changes to Web IDL as this specification proceed to Recommendation.

Please send comments to public-web-perf@w3.org (archived) with [PerformanceTimeline] at the start of the subject line.

This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or cited from another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web.

This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.

Table of Contents

  1. 1Introduction
  2. 2Conformance requirements
  3. 3 Terminology
  4. 4 Performance Timeline
    1. 4.1 The Performance Timeline
    2. 4.2 The PerformanceEntry interface
    3. 4.3 Extensions to the Performance interface
    4. 4.4 Vendor Extensions
  5. 5 References
  6. Acknowledgements

1 Introduction

This section is non-normative.

Accurately measuring performance characteristics of web applications is an important aspect of making web applications faster. [Navigation Timing], [Resource Timing], and [User Timing] are examples of specifications that define timing information related to the navigation of the document, resources on the page, and developer scripts, respectively.

Together these interfaces, and potentially others created in the future, define performance metrics that describe the performance timeline of a web application. This specification provides an unifying interface to access and retrieve these various performance metrics from the performance timeline of a web application.

The following script shows how a developer can use the PerformanceEntry interface to obtain timing data related to the navigation of the document, resources on the page and developer scripts.