PerformanceMeasure

PerformanceMeasure is an abstract interface for PerformanceEntry objects with an PerformanceEntry.entryType of 'measure'.

MDN Reference

Properties

Link copied to clipboard

The read-only detail property returns arbitrary metadata that was included in the mark upon construction (when using Performance.measure.

Link copied to clipboard

The read-only duration property returns a DOMHighResTimeStamp that is the duration of the PerformanceEntry.

Link copied to clipboard

The read-only entryType property returns a string representing the type of performance metric that this entry represents.

Link copied to clipboard

The read-only name property of the PerformanceEntry interface is a string representing the name for a performance entry.

Link copied to clipboard

The read-only startTime property returns the first DOMHighResTimeStamp recorded for this PerformanceEntry.

Functions

Link copied to clipboard
open fun toJSON(): JsAny

The toJSON() method is a Serialization; it returns a JSON representation of the PerformanceEntry object.