PerformanceEntry

package js.html

extended by PerformanceMark, PerformanceMeasure, PerformanceResourceTiming

Available on js

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.

See also:

Variables

read onlyduration:Float

A DOMHighResTimeStamp representing the time value of the duration of the performance event.

read onlyentryType:String

A DOMString representing the type of performance metric such as, for example, "mark". See property page for valid values.

read onlyname:String

A 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.

read onlystartTime:Float

A DOMHighResTimeStamp representing the starting time for the performance metric.

Methods

toJSON():Dynamic

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/PerformanceEntry.html