Exposes marks created via the Performance.mark()
method.
class
perf_hooks.PerformanceMark
class PerformanceMark
- readonly duration: 0
The total number of milliseconds elapsed for this entry. This value will not be meaningful for all Performance Entry types.
- readonly entryType: 'mark'
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 startTime: number
The high resolution millisecond timestamp marking the starting time of the Performance Entry.