PerformanceEntry

@JSImport("perf_hooks", "PerformanceEntry") @native @JSType class PerformanceEntry extends StObject
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

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

Concrete fields

val details: UndefOr[NodeGCPerformanceDetail | Any]
val duration: Double

The total number of milliseconds elapsed for this entry. This value will not be meaningful for all Performance Entry types.

The total number of milliseconds elapsed for this entry. This value will not be meaningful for all Performance Entry types.

The type of the performance entry. Currently it may be one of: 'node', 'mark', 'measure', 'gc', or 'function'.

The type of the performance entry. Currently it may be one of: 'node', 'mark', 'measure', 'gc', or 'function'.

val name: String

The name of the performance entry.

The name of the performance entry.

val startTime: Double

The high resolution millisecond timestamp marking the starting time of the Performance Entry.

The high resolution millisecond timestamp marking the starting time of the Performance Entry.