This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

PerformanceMark

Summary

Exposes marks created via the mark() method to the Performance Timeline.

Properties

duration
Returns a DOMHighResTimeStamp value. For marks, the value is always 0 (zero).
entryType
Returns the DOMString "mark".
name
Returns the mark’s name.
startTime
Returns a DOMHighResTimeStamp with the mark’s High Resolution Time time value.

Methods

No methods.

Events

No events.

Notes

Timestamps represent the number of milliseconds between the time the event occurred and midnight Januaray 1, 1970 (UTC).

Related specifications

W3C User Timing Specification
W3C Candidate Recommendation

Attributions