Skip to main content

PerformanceEntry

class PerformanceEntry

The constructor of this class is not exposed to users directly.

Constructors Jump to heading

new
Jump to headingPerformanceEntry()

Properties Jump to heading

readonly
abstract
Jump to headingdetail:
NodeGCPerformanceDetail
| unknown
| undefined

Additional detail specific to the entryType.

readonly
Jump to headingduration: number

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. It may be one of:

  • 'node' (Node.js only)
  • 'mark' (available on the Web)
  • 'measure' (available on the Web)
  • 'gc' (Node.js only)
  • 'function' (Node.js only)
  • 'http2' (Node.js only)
  • 'http' (Node.js only)
readonly
Jump to headingname: string

The name of the performance entry.

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

Back to top