This property is an extension by Node.js. It is not available in Web browsers.

Provides timing details for Node.js itself. The constructor of this class is not exposed to users.

See also:

Variables

read onlybootstrapComplete:Float

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.

read onlyenvironment:Float

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

read onlyidleTime:Float

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, the property has the value of 0.

read onlyloopExit:Float

The high resolution millisecond timestamp at which the Node.js event loop exited. If the event loop has not yet exited, the property has the value of -1.

read onlyloopStart:Float

The high resolution millisecond timestamp at which the Node.js event loop started. If the event loop has not yet started, the property has the value of -1.

read onlynodeStart:Float

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

read onlyuvMetricsInfo:UVMetrics

A wrapper to the uv_metrics_info function. Returns the current set of event loop metrics.

It is recommended to use this property inside a function whose execution was scheduled using setImmediate to avoid collecting metrics before finishing all operations scheduled during the current loop iteration.

read onlyv8Start:Float

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

Inherited Variables

Defined by PerformanceEntry

read onlyduration:Float

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

read onlyentryType:PerformanceEntryType

The type of the performance entry.

read onlyname:String

The name of the performance entry.

read onlystartTime:Float

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

Inherited Methods

Defined by PerformanceEntry

toJSON():Dynamic

Returns a JSON representation of the PerformanceEntry object.