Build
Docs
Reference
Guides
Blog
Discord
/
node:perf_hooks
/
Performance
/
mark
M
mark
Search the reference...
/
Build
Docs
Reference
Guides
Blog
Discord
/
node:perf_hooks
/
Performance
/
mark
M
mark
method
perf_hooks.Performance.mark
mark
(
markName
:
string
,
markOptions
?
:
PerformanceMarkOptions
)
:
PerformanceMark
;
Referenced types
interface
PerformanceMarkOptions
detail
?
:
any
startTime
?
:
number
interface
PerformanceMark
readonly
detail
:
any
readonly
duration
:
number
readonly
entryType
:
'mark'
readonly
name
:
string
readonly
startTime
:
number
toJSON
()
:
any
;