PerformanceEntry

@native @JSGlobal @JSType
class PerformanceEntry extends Object

Encapsulates a single performance metric that is part of the browser's performance timeline.

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def duration: Int

The duration of the performance entry. The meaning of this property depends on the value of this entry's entryType.

The duration of the performance entry. The meaning of this property depends on the value of this entry's entryType.

def entryType: String

The type of performance metric that this entry represents.

The type of performance metric that this entry represents.

def name: String

The name for a performance entry. It acts as an identifier, but it does not have to be unique. The value depends on the subclass.

The name for a performance entry. It acts as an identifier, but it does not have to be unique. The value depends on the subclass.

def startTime: Double

The first timestamp recorded for this performance entry. The meaning of this property depends on the value of this entry's entryType.

The first timestamp recorded for this performance entry. The meaning of this property depends on the value of this entry's entryType.

def toJSON(): Object

Returns a JSON representation of the PerformanceEntry object.

Returns a JSON representation of the PerformanceEntry object.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object