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 second Last Call Working Draft of "Performance Timeline". This new version takes into account the High Resolution Time specification and moves the PerformanceTiming interface to Navigation Timing 2.

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

A diff document with the previous draft is available.

This document is produced by the Web Performance Working Group. The Web Performance Working Group is part of the Rich Web Clients Activity in the W3C Interaction Domain.

You can find the latest Editor's Draft of this document in the W3C's Mercurial repository, which is updated on a regular basis.

Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.

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 The window.performance attribute
  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 Timingare 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. The Performance Timelinespecification 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 Performance Timeline interface to obtain timing data related to the navigation of the document, resources on the page and developer scripts.