On this page

C

PerformanceEntry

History

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

Type:number

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

Type:string

The type of the performance entry. It may be one of:

  • 'dns' (Node.js only)
  • 'function' (Node.js only)
  • 'gc' (Node.js only)
  • 'http2' (Node.js only)
  • 'http' (Node.js only)
  • 'mark' (available on the Web)
  • 'measure' (available on the Web)
  • 'net' (Node.js only)
  • 'node' (Node.js only)
  • 'resource' (available on the Web)
Type:string

The name of the performance entry.

Type:number

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