PerformanceEntry
The PerformanceEntry object encapsulates a single performance metric that is part of the performance timeline. A performance entry can be directly created by making a performance mark or measure (for example by calling the mark() method) at an explicit point in an application. Performance entries are also created in indirect ways such as loading a resource (such as an image).
Documentation PerformanceEntry by Mozilla Contributors, licensed under CC-BY-SA 2.5.
Instance Members
name: StringA value that further specifies the value returned by the PerformanceEntry.entryType property. The value of both depends on the subtype. See property page for valid values.
entryType: StringA DOMString representing the type of performance metric such as, for example, "mark". See property page for valid values.
startTime: FloatA DOMHighResTimeStamp representing the starting time for the performance metric.
duration: FloatA DOMHighResTimeStamp representing the time value of the duration of the performance event.
toJSON(): Dynamic| Returns |
|---|
| Dynamic |