PerformanceNodeTiming

@JSImport("perf_hooks", "PerformanceNodeTiming") @native @JSType class PerformanceNodeTiming extends PerformanceEntry
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 bootstrapComplete: Double

The high resolution millisecond timestamp at which the Node.js process completed bootstrap.

The high resolution millisecond timestamp at which the Node.js process completed bootstrap.

val environment: Double

The high resolution millisecond timestamp at which the Node.js process completed bootstrapping. If bootstrapping has not yet finished, the property has the value of -1.

The high resolution millisecond timestamp at which the Node.js process completed bootstrapping. If bootstrapping has not yet finished, the property has the value of -1.

val idleTime: Double

The high resolution millisecond timestamp at which the Node.js environment was initialized.

The high resolution millisecond timestamp at which the Node.js environment was initialized.

val loopExit: Double

The high resolution millisecond timestamp of the amount of time the event loop has been idle within the event loop's event provider (e.g. epoll_wait). This does not take CPU usage into consideration. If the event loop has not yet started (e.g., in the first tick of the main script), the property has the value of 0.

The high resolution millisecond timestamp of the amount of time the event loop has been idle within the event loop's event provider (e.g. epoll_wait). This does not take CPU usage into consideration. If the event loop has not yet started (e.g., in the first tick of the main script), the property has the value of 0.

val loopStart: Double

The high resolution millisecond timestamp at which the Node.js event loop started. If the event loop has not yet started (e.g., in the first tick of the main script), the property has the value of -1.

The high resolution millisecond timestamp at which the Node.js event loop started. If the event loop has not yet started (e.g., in the first tick of the main script), the property has the value of -1.

val v8Start: Double

The high resolution millisecond timestamp at which the V8 platform was initialized.

The high resolution millisecond timestamp at which the V8 platform was initialized.

Inherited fields

val details: UndefOr[NodeGCPerformanceDetail | Any]
Inherited from
PerformanceEntry
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.

Inherited from
PerformanceEntry

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

Inherited from
PerformanceEntry
val name: String

The name of the performance entry.

The name of the performance entry.

Inherited from
PerformanceEntry
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.

Inherited from
PerformanceEntry