Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 683331 of Window.performance

  • Revision slug: Web/API/window.performance
  • Revision title: Window.performance
  • Revision id: 683331
  • Created:
  • Creator: paul.irish
  • Is current revision? No
  • Comment

Revision Content

{{APIREf}}

The Web Performance API allows web pages access to certain functions for measuring the performance of web pages and web applications, including the Navigation Timing API and high-resolution time data.

Methods

{{domxref("window.performance.now", "performance.now")}}
Returns a high-resolution timestamp.

Properties

performance.timing
---
performance.navigation
Provide access to the Navigation Timing API.
performance.memory
A non-standard extension added in Chrome.

Revision Source

<div>
 {{APIREf}}</div>
<p>The Web Performance API allows web pages access to certain functions for measuring the performance of web pages and web applications, including the <a href="/en-US/docs/Navigation_timing">Navigation Timing </a>API and high-resolution time data.</p>
<h2 id="Methods" name="Methods">Methods</h2>
<dl>
 <dt>
  {{domxref("window.performance.now", "performance.now")}}</dt>
 <dd>
  Returns a high-resolution timestamp.</dd>
</dl>
<h2 id="Properties" name="Properties">Properties</h2>
<dl>
 <dt>
  performance.timing</dt>
 <dd>
  ---</dd>
 <dt>
  performance.navigation</dt>
 <dd>
  Provide access to the <a href="/en-US/docs/Navigation_timing">Navigation Timing</a> API.</dd>
 <dt>
  <a href="https://docs.webplatform.org/wiki/apis/timing/properties/memory">performance.memory</a></dt>
 <dd>
  A non-standard extension added in Chrome.</dd>
</dl>
Revert to this revision